How to make a Download Link to a downloadable item in Directory Theme 8.9.7

WordPress Business Themes Forums General Discussion How to make a Download Link to a downloadable item in Directory Theme 8.9.7

How to make a Download Link to a downloadable item in Directory Theme 8.9.7

December 24, 2017
Jason Jason
  • Jason
    Jason
    Guru 833 points

    Hiya,

    May I ask if someone knows the way to make a Download Link to a downloadable item in Directory Theme 8.9.7 with PP themes please,

    And merry Xmas to you all

    Thanks in advance

    December 24, 2017 at 3:28 am
  • Jason
    Jason
    Guru 833 points

    Thanks in advance

    December 24, 2017 at 3:29 am
  • JamesD
    JamesD
    Super Guru 929 points

    Hi Jason,

    As far as I’m aware a custom solution or at the least a custom form with the correct parameters.

    You’re probably already aware, but here’s an example just in case:

    <form method="post" action="<!-- YOUR MAIN URL -->/index.php" target="_blank" style="margin:0px;">
        <input type="hidden" name="pid" value="<!-- YOUR POST ID -->" /> 
        <input type="hidden" name="free" value="1" />
        <input type="hidden" name="purchased" value="1" />
        <input type="hidden" name="downloadproduct" value="1" />
        <button type='submit' class='btn btn-primary'>Download</button>
    </form>

    You can alter it and/or styling to display it as just a link and not a button.

    This is actually one of those things I’ve been wanting to add into a little helping type plugin I’ve been working on. I’ve just been hesitant on adding any new functionality with the release of v9 around the corner.

    December 25, 2017 at 3:35 am
  • Jason
    Jason
    Guru 833 points

    Attached

    Attachments:
    You must be logged in to view attached files.
    December 25, 2017 at 6:17 am
  • JamesD
    JamesD
    Super Guru 929 points

    You can look for some sort of download/protector plugin.

    Attached is a plugin I’ve used for a long while that has worked fine for me without any problems, HOWEVER, it is an older plugin and no longer supported by the author.

    It’s relatively straight forward and you can put the files to be where ever and/or set the location of them..

    Attachments:
    You must be logged in to view attached files.
    December 25, 2017 at 6:44 am
  • JamesD
    JamesD
    Super Guru 929 points

    Wait… what’s the file type of the “downloadable” item in the DT?
    How do you set the items to be downloadable?

    December 25, 2017 at 6:52 am
  • Jason
    Jason
    Guru 833 points

    Anyone ???

    January 25, 2018 at 3:47 am
  • JamesD
    JamesD
    Super Guru 929 points

    I’m still not sure what you’re looking for.

    < a href="FULL_URL_TO_ZIP" class="btn btn-default" role="button">Download File</ a>

    Are you needing something as simple like this or integrated with the theme?

    Note: Had to intentionally add an extra space at the beginning, and end, of the ‘a’ tag to display properly.

    February 9, 2018 at 11:26 pm
  • Jason
    Jason
    Guru 833 points

    that above doesnt work at all.

    Here is what I found works

    GET FILE NOW

    February 13, 2018 at 4:29 am
  • Jason
    Jason
    Guru 833 points

    This is it hopefully

    < class="btn btn-primary btn-lg" href="www.web_link_here.com">GET FILE NOW</ a>
    February 13, 2018 at 4:37 am
  • Marie
    Marie
    Super Guru 1,504 points

    Thanks for sharing :)

    February 13, 2018 at 8:27 am
  • JamesD
    JamesD
    Super Guru 929 points

    @Jason
    “This is it hopefully”
    You do realize that what you put is the same thing, right? You’re funny. 😉

    I can probably help you with what you’re attempting to do, but you would need to provide more information on EXACTLY what you’re trying to do other than asking for a button to download a file.

    What ever works best for you, was just trying to help.

    February 13, 2018 at 9:17 pm
Viewing 12 posts - 1 through 12 (of 12 total)

Didn't find what you were after?

Chat with us now

or contact our support team