WordPress.org

Ready to get started?Download WordPress

Forums

Download Monitor
How to use custom field on a download page ? (4 posts)

  1. Clems742@
    Member
    Posted 2 years ago #

    Hello everyone!

    How to use custom field on a download page ?

    The author said :
    "For example, if my download had 2 custom fields called ‘license’ and ‘author’ I could show these by adding a custom field called ‘include_fields’ and giving it the value ‘license, author’."

    In the configuration file page, i tried that : "Name -> include_fields" "Value-> file-type" but nothing appears

    So what i have to do exactly ? How to use 'include_fields' ? How to write it ? And how to give (recover) values to "license" or "author" ?

    Sorry but i really don't understand and my best friend "Google" doesn't help me :(

    http://wordpress.org/extend/plugins/download-monitor/

  2. designlabCPH
    Member
    Posted 1 year ago #

    Hi there.

    You might have figured it out already, but just gave this answer to someone else with more or less the same problem, might be useful to you or others:

    You need to set the name as req_role and then i.e author for the value.
    Been with the same problem for hours today, until I realised this part *lol*
    Also note, that if you use i.e. Buddypress, the roles that gets added to the WP user options under "Roles" does not work.
    You need to use some of the native WP roles for this, i.e. author, subscriber, contributor etc.

  3. selym
    Member
    Posted 1 year ago #

    I have the same question as the OP, but I don't understand this answer. Am I supposed to have a Roles plugin or something?

    Say I want to add a "Demo" link value to every single individual download page, how do I do this? The include_fields thing didn't work for me, unless I am suppose to do this on a global level and not each time I add a new download.

  4. worthdesigning
    Member
    Posted 1 year ago #

    Struggling setting up this plugin!

    Just want to change the default download link and have an image - will post solution if and when I figure it out!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic