WordPress.org

Ready to get started?Download WordPress

Forums

Shortcode Within Shortcode (2 posts)

  1. schaefermic
    Member
    Posted 4 years ago #

    Hello,

    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.

    Thanks!!

  2. schaefermic
    Member
    Posted 4 years ago #

    Anyone have an idea how to use these two shortcodes within each other?

Topic Closed

This topic has been closed to new replies.

About this Topic