Shortcodes for package files instead of just for the entire package

Viewing 4 posts - 1 through 4 (of 4 total)
#210626

HappyHelper
Member

The website im working on really requires shortcodes that can be used with the ID of files in packages and not just the overall package ID that lists all files. we need to be able to keep things neat and have one package that contains, say, 5 files and use a shortcode to create a link template for each individual file. Currently your shortcode for providing link template is only for the entire package forcing users to download ALL files in a package.

Many of your customers have petitioned me to continue to push this basic need for your plugin and I’m urging your developers to make this simple fix. We need to be allowed to use package ID or File IDs (already created when uploading files to a package) in templates and shortcodes!

Hope you understand and thank you for reading.

#210628

Nayeem Riddhi
Moderator

Hello HappyHelper,

Hope you are well. Thanks for your suggestions. We have already template tags [file_list], [file_list_extended],[file_list_extended_WxHxC] for the attached files, you can explore the doc here too, https://www.wpdownloadmanager.com/doc/templates/template-tags/, that will help you working with attached files for a package. Please kindly check and let us know, if you have any more queries.

Thank you and regards

#210636

Shahjada
Keymaster

Create a link template only with template tag [file_list], nothing else, then with the package short-code use that template.
Doc:

Creating a new template

#210696

HappyHelper
Member

I’m not sure if my needs are being answered correctly.

Let’s say I have a package with 2 downloadable files in it and the Package ID is 1234. Shortcode [wpdm_package id='1234'] will download all 5 files and not give users the chance to CHOOSE which of the 5 files from the package to download.

Now your plugin already has unique identifiers for each file…For example

File 1 = https://demo.com?wpdmdl=29671&ind=1766935868728
File 2 = https://demo.com?wpdmdl=29671&ind=1766932503028

Notice how i can generate two different links for each of those 2 files. WPDM already creates unique identifiers for each file in the package. In this case 29671&ind=1766935868728 and 29671&ind=1766932503028 so why not allow them to be used with a shortcode like [wpdm_package id='1766932503028'] so that I can create a link template to that individual file anywhere on my site, not just to the entire package.

I do not want to list all the files in a package. I just want to have a download button to a single file from a package with multiple files.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.