The closest I've got so far is
<?php echo do_shortcode('[gallery id="<?php the_ID($post->post_parent); ?>"]'); ?>
instead of actually grabbing just the gallery from the parent post, its grabbing every img instead.
The closest I've got so far is
<?php echo do_shortcode('[gallery id="<?php the_ID($post->post_parent); ?>"]'); ?>
instead of actually grabbing just the gallery from the parent post, its grabbing every img instead.
This topic has been closed to new replies.