Add licence type in post listing

WordPress Business Themes Forums Responsive Themes Download Theme Add licence type in post listing

Add licence type in post listing

May 27, 2015
David David
  • David
    David
    Newbie 13 points

    there is a licence type field in post listing and I would like to add a type “Open Source” any ideas how to do this please

    May 27, 2015 at 3:57 am
  • Alex Morgan
    Alex Morgan
    Super Guru 1,048 points

    Hi david,

    You can try to customize the file: defaults_download.php

    May 27, 2015 at 9:00 am
  • Alfredo
    Alfredo
    Newbie 41 points

    David,

    I beleive that this is how you are supposed to be able to do this:

    Go to > Listing Manager > Locate Your Listing then click ‘Edit’
    Scroll to the bottom of the page look for ‘Add New Custom Field’
    Click on the dropdown menu for –Select– and choose ‘dl_license’
    in the ‘Value’ field (to the right) enter ‘open source’ (no quotes)

    Click ‘Add Custom Field’ That should add your custom field.

    For me that process is not working.

    > > Here is what I’m currently doing as a temporary workaround .

    Go to the top of the ‘Custom Fields’ section.
    Close to the top you will see dl_license and off to the right the value.
    Change the value to ‘Open Source’ then click on the ‘Update’ button directly below ‘dl_license.’

    Do not click on the ‘Update’ button to update the listing.

    Check your listing (reload) and you will see the new license value.

    Basically if you make a change to the listing itself you will need to come back after you update the listing and follow the process above to change the License value.

    Hope this helps.

    -=A=-

    May 27, 2015 at 2:08 pm
  • Gerry
    Gerry
    Newbie 61 points

    You need to select which listing packages the field is associated with to have it appear.

    May 27, 2015 at 2:33 pm
  • Alfredo
    Alfredo
    Newbie 41 points

    Gerry,

    I just checked the Listing Package setup / details and I don’t see any reference to the License listed or mentioned.

    Can you please elaborate.

    -=A=-

    May 27, 2015 at 4:55 pm
  • David
    David
    Newbie 13 points

    Here it is, basically when you set up a new listing you need to choose a licence type for the software you are offering for download. I would like to add another option to this dropdown saying “open Source”

    Attachments:
    You must be logged in to view attached files.
    May 27, 2015 at 5:06 pm
  • Alfredo
    Alfredo
    Newbie 41 points

    David,

    Did you read my post? It’s not a permanent fix but it will work and you don’t need to modify any files.

    Alex’s suggestion is also spot on. You can customize the ‘defaults_download.php’ file.
    Keep in mind . . . when the theme is updated these changes will most likely be lost.

    Hope this helps.

    -=A=-

    May 27, 2015 at 5:22 pm
  • Sean
    Sean
    Newbie 7 points

    I found the terms in terms in themes/SO/framework/class/defaults_download.php

    But when I change or add to them, they do not show up, only the original terms like freeware, etc. So there has to be another place that needs to be updated for these changes to take place. Also, where in the child theme can these be put so they can be permanent and not get changed on the next update.

    When I change the custom field, the term will change until I update the page and then it reverts to the first license term, usually freeware. How would be change this so that it does not get written over and updated when the theme is updated.

    See Screenshot

    Attachments:
    You must be logged in to view attached files.
    June 21, 2017 at 5:48 pm
  • Sean
    Sean
    Newbie 7 points

    So I found a work around. I added a custom post type with a drop down menu for license types
    added the license types that I wanted in the drop down menu
    assigned it to a listing package. Since I am not using any

    I changed the content tabs for the listing page = page setup / content pages / Listing Page Layout. Since I could not change the license type specs, I made a bunch of custom specs and showed them as fields instead.

    [su_tab title=FEATURES][SPECS][/su_tab]

    To
    [su_tab title=FEATURES][FIELDS][/su_tab]

    June 21, 2017 at 9:48 pm
Viewing 9 posts - 1 through 9 (of 9 total)

Didn't find what you were after?

Chat with us now

or contact our support team