Shortcode Within Shortcode
Im trying to use supple forms (a plugin similar to custom fields) as a way for my client to quickly be able to add new NextGen Galleries, in a custom template page.
This way the client can easily add new pages, and just enter the ID # of the gallery, to make a new page specific to the gallery.
The issue im having is combining the two short codes.
The two short codes respectively are:
<?php echo do_shortcode('[imagebrowser id=1]'); ?> AND <?php echo do_shortcode('[supple snip="gallery"]'); ?>
Im trying to use the supple snip shortcode as the id# in the imagebrowser nextgen shortcode.
Ive tried doing this:
<?php echo do_shortcode('[imagebrowser id=[supple snip="gallery"]]'); ?>
but that is not working.
Does anyone have a suggestion on combining the two?
I really could use some help.
Ideally I’d just use supple snip to render the whole rest of the shortcode, but it does not render PHP.
- The topic ‘Shortcode Within Shortcode’ is closed to new replies.