How to insert the parent post gallery into attachment page template?

Discussion in 'Blogging' started by ruibo, Jul 4, 2009.

  1. #1
    Here's a sample, any help would be a appreciated.

    http://www.sunboil.com/2009/05/27/cook-turner-wedding-titlow-lodge-tacoma-wa-20090523/evelyn_marshall_wedding_20090523_005/
    HTML:
    This is what I've tried and closest I got

    <?php echo do_shortcode('[gallery id="<?php the_ID($post->post_parent); ?>"]'); ?>
    HTML:
    Not sure if I'm on the right direction or not but any help is appreciated.
     
    ruibo, Jul 4, 2009 IP