• Resolved tmeche87

    (@tmeche87)


    Hey!

    I am trying to do a loop and grab all of the Item ID from a collection in Zotpress. I reference the Collection ID using the Zotpress shortcode, but I”m not sure how to (if I am even able to) get the Item IDs of the publications within that collection.

    //stores Collection ID in the variable $zotcol
    <?php $zotcol=get_post_meta($post->ID, 'wpcf-collection-id', true); ?>

    I now have the Collection ID stored in the variable $zotcol.
    However, I need to get the Item IDs from each publication in that collection because I need to use each Item ID in a URL.

    Does anybody know how this can be done?

    Thanks for any and all help!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Get all Zotpress Item IDs from Collection’ is closed to new replies.