![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#2
|
||||
|
||||
|
Quote:
This might work (assuming the_ID() is a function): Code:
<?php echo do_shortcode('[gallery id="' . the_ID($post->post_parent); . '"]'); ?>
HTH,
__________________
Charles "Rubeus Hagrid" Clarkson StudioPress on Facebook I'm not really a smart person. I just play one on the Internet. Please use the HTML
or PHP tags for pasting code.Please make your links click-able: this_is_annoying.com http://this_is_not_annoying.com. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Image "attachment" page back button | zom | General Discussion | 2 | 10-29-2009 09:51 AM |
| what is this? (see image attachment) | joehark | General Discussion | 3 | 02-24-2009 01:12 AM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us