• Hi,
    I installed the plugin and I created a relationship between post and this custom post type. I want to retrieve the title and the link of pdf. For the first is not a problem, I use the_title() , but for second I don’t find the field name.
    Can You help me ?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Contributor Shafaet Alam

    (@shafayat-alam)

    Hi,
    If you are trying to get the download link, you need to use the following php code:
    <?php echo \WPDM\Package::getDownloadURL(get_the_ID()); ?>

Viewing 1 replies (of 1 total)

The topic ‘Get field file’ is closed to new replies.