• Resolved mich3lang3lo

    (@mich3lang3lo)


    Hello everyone,

    Could you guys give me a hand?

    I would like to know if is possible to use the Download Title instead of the ID in this shortcode (example) [wpdm_package id=’3516′]

    The ID is a random number and is not working for what i want to do, but i can predict the Download Title, example: https://www.mysite.com.br/download/fileA001/ would have a short-code like this [wpdm_package downloadtitle=’fileA001′].

    Thanks

    Mike

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mich3lang3lo

    (@mich3lang3lo)

    Im trying to find a work around but nothing is working.

    Thanks for the help

    Mike

    Plugin Author Shahjada

    (@codename065)

    Sorry, that is not possible. BTW, you can use this add-on https://www.wpdownloadmanager.com/download/advanced-tinymce-button/ to generate short-code.

    Thread Starter mich3lang3lo

    (@mich3lang3lo)

    Thanks for the tip Shaon,

    I am trying to do something similar you do with the direct link to download short-code:

    $linkLabel = empty($linkLabel)?'Download '.get_the_title($params['id']):$linkLabel;

    Are you sure is not possible to make a small change in the Callback function for short-code to make this work?

    Ty

    Mike

    Thread Starter mich3lang3lo

    (@mich3lang3lo)

    Shaon,

    About the Advanced TinyMCE, is it working with the google drive addon?

    Thank you

    Mike

    Plugin Contributor Shahriar Alam

    (@shahriar0822)

    TinyMCE just inserts shortcodes, it does not have any relation how you are adding files to your package. So, it works for packages that has Google Drive files.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Download Short-code – Change from ID to Download Title’ is closed to new replies.