Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $posts = get_field('the-set');
- if( $posts ): ?>
- <ul>
- <?php foreach( $posts as $post_object): ?>
- <?php $productpackage = get_the_ID($post_object->ID); ?>
- <? echo do_shortcode("[wpdm_package id=".$productpackage."]"); ?>
- <?php endforeach; ?>
- </ul>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment