• Resolved thomasjono

    (@thomasjono)


    Hi,

    I like your plugin so far. I have a question regarding download IDs. I am trying to create a carousel for downloads, and have been able to do it successfully. What I am trying to do is display each download’s post_content, but unfortunately I am unable to do it with the shortcode in the documentation because it requires the download ID. Is there a way output the post_content some way, or get it by code, for example, $dlm_download->download_ID?

    Let me know, thank you.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Barry Kooij

    (@barrykooij)

    Hey,

    If you have the $dlm_download object, you can call $dlm_download->get_description() too get the description. Don’t forget to add echo if you want to output it to the screen.

    Kind Regards,

    Barry Kooij

Viewing 1 replies (of 1 total)

The topic ‘Download ID’ is closed to new replies.