Delightful Downloads
Accessing the download ID from a gallery situation (2 posts)

  1. pkunzipula
    Posted 3 years ago #

    Great plugin, Ashley! But I'm in a pickle here.

    I am trying to create galleries of downloadable images using WordPress' default gallery functionality and styling the Image attachment page to include a Download button IF the file is also included in the Delightful Downloads directory. My thought was to scan the delightful-downloads folder to compare file names and add the corresponding ddownloadID to the link. But how do I retrieve that ID? I've poked around phpMyAdmin and I don't see where this data is stored.

    If there is a better way or any way, please advise.

    Thanks again for this work of simple beauty.



  2. pkunzipula
    Posted 3 years ago #

    I found the download IDs in the wp-posts table, just moments later. Sorry. But I'm still open to procedural advice.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Delightful Downloads
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.