• Resolved waschbaerueberfall

    (@waschbaerueberfall)


    In ealier versions (before wpdm 3.2.11), we were able to use additional metadata with the wpdm_all_packages-shortcode.

    If you go to downloads, edit an existing download, scroll down to custom fields, you should see already existing fields (like “location” or “label”). If you set a value for one of these custom fields, wpdm in earlier versions was able to display those in shortcodes, e.g.:
    [wpdm_all_packages thumb=1 items_per_page="10" jstable=1 order_by="page_link" order="ASC" cols="page_link,package_size,location|categories|publish_date|download_link"]

    This doesn’t work anymore. One could also create new custom fields*, set values and use those in shortcodes. This also doesn’t work anymore.

    We are using wpdm 3.2.36 with wordpress 5.9. The use of additional metadata is very useful, so I would be really glad, if this could be fixed.

    Unfortunately, I don’t have a live-site, I could provide. But I could post some screenshots if needed. Don’t hesitate to ask for this, if it should be helpful.

    * Go to downloads, edit an existing download, scroll down to custom fields, under name choose enter new, enter a name (like: referencenumber) and a value (like: ab-1234) and click add custom field and of course update to save the changes. Now the download has an extra metadata-field, which could be used in older versions of wpdm in shortcodes like:

    [wpdm_all_packages thumb=1 items_per_page="10" jstable=1 order_by="page_link" order="ASC" cols="page_link,package_size,location|categories|publish_date|download_link"]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hello @waschbaerueberfall

    Welcome to the support forum.

    Can you please record us reproducing your issue using a tool like this?

    It helps us to quickly figure out the issue and squash it immediately.

    Regards

    Thread Starter waschbaerueberfall

    (@waschbaerueberfall)

    Hello and thank you for your response.

    I recorded a video with loom. At the moment it is uploading, but I hope it will be finished soon.

    Here is the link: Loom-Capture (WPDM Custom Fields In Shortcodes)

    If this somehow doesn’t work, I will record my screen with OBS (Open Broadcast Studio) and upload it in our nextcloud, if that’s ok with you.

    If this all doesn’t work, you should be able to reproduce this behaviour by doing the following steps:

    Go to downloads, edit an existing download, scroll down to custom fields, under name choose enter new, enter a name (like: referencenumber) and a value (like: ab-1234) and click add custom field and of course update to save the changes. Now the download has an extra metadata-field, which could be used in older versions of wpdm in shortcodes like:
    [wpdm_all_packages thumb=1 items_per_page="10" jstable=1 order_by="page_link" order="ASC" cols="page_link,package_size,location|categories|publish_date|download_link"]

    Thread Starter waschbaerueberfall

    (@waschbaerueberfall)

    Hmm, I think this loom-thing isn’t working. As I wrote, I recorded a screencapture with sound via OBS – I’m uploading this to our nextcloud. Should be here in a few minutes:

    Loom-Capture (WPDM Custom Fields In Shortcodes)

    If you have questions, I will be happy to answer those.

    Best regards,

    Thread Starter waschbaerueberfall

    (@waschbaerueberfall)

    PS: the nextcloud doesn’t stream MKV, so you will have to download the file in order to watch ist. Sorry for the inconvenience.

    Hello @waschbaerueberfall

    Thank you for the clarification video.

    Based on your video, please try to use cf_fieldname, for example, cf_creator.

    I hope it will resolve your issue.

    Regards

    Thread Starter waschbaerueberfall

    (@waschbaerueberfall)

    Hello and thank you for the suggestion.

    Unfortunately, it doesn’t resolve the issue here. Still the same. I add the custom field “cf_creator” and provide a value. In the shortcode, I use

    (...) cols="page_link,package_size,author,cf_creator"|categories|publish_date|download_link (...)

    But it is still not being displayed.

    Plugin Contributor Shafaet Alam

    (@shafayat-alam)

    Hi,
    If the custom field name is creator, then you need to use cf_creator with the shortcode. When using custom field name in shortcode add cf_ prefix.

    Thread Starter waschbaerueberfall

    (@waschbaerueberfall)

    Hi,

    this is exactly what I did (“cf_creator”) [see previous post].

    If this is the solution and it still is not working, are there any logs I could check/post?

    I have two wordpress-servers. It’s not working on both of them. I could set up a completely new server and check it out there, but I’m not sure how this would help me with my previous installations.

    Maybe I need to delete previous custom fields? But I don’t know how to do this. I can delete VALUES of custom fields, but I don’t know how to delete the fields themselves.

    Thread Starter waschbaerueberfall

    (@waschbaerueberfall)

    Hello,

    can you confirm the solution for yourself? I mean: can you reproduce the problem and then solve it by applying your suggested solution?

    Do these custom fields NOT appear in your environment until you add “cf_”?

    Best regards,

    PS: As I wrote, the solution doesn’t work here

    Thread Starter waschbaerueberfall

    (@waschbaerueberfall)

    Hi,

    I just installed a completely new, fresh wordpress. I only installed wpdm-plugin, nothing else. I created a download and a custom field named “cf_author” and provided a value [there were no custom fields before]. I created a post and provided the following shortcode:
    [wpdm_all_packages thumb=1 items_per_page="20" jstable=1 order_by="title" order="ASC" cols="title,file_count,download_count,cf_author|categories|update_date|download_link" colheads="Title|Categories|Update Date|Download::155px"]

    It is not working – “cf_author” is not displayed in the download-table, although it is a valid metadata of the download and provided in the shortcode.

    Unfortunately this doesn’t seem to be a valid solution.

    Best regards,

    Thread Starter waschbaerueberfall

    (@waschbaerueberfall)

    Hi,

    is there anything I can do, so this thread doesn’t end here?

    Best regards,

    Hello @waschbaerueberfall

    Currently, I have tested and it seems it’s working with the latest Pro version only.

    Thanks.

    Thread Starter waschbaerueberfall

    (@waschbaerueberfall)

    Hello,

    thank you very much for the analysis and for all the work with this helpful plugin.

    One last question: is this a deliberate choice (to remove this feature from the free version) or will this feature be part of newer version again?

    Thanks and best regards,

    Hi @waschbaerueberfall

    Thank you for writing back to us.

    Based on the functionality and dependency, it will be available with the Pro version for now.

    However, we may add this with a future update if more similar requests come.

    Have a good day!

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘wpdm_all_packages, additional metadata not displayed’ is closed to new replies.