• Cole

    (@oldkcole)


    Hey,

    I am using two plugins that use shortcodes. The plugins are WP Bootstrap Tabs and Smart Testimonails

    I want to insert the testimonial shortcode into the tabs shortcode so I can have categories in various tabs on the page. The problem is that the testimonial shortcode doesn’t trigger within the tabs shortcode, how can I make the shortcode work within a shortcode?

    Here is the example:

    [bootstrap_tab name=”Tab 1″ link=”tab1-slug” active=”active”][multi_testimonail cat_name=”general”][/bootstrap_tab]
    [bootstrap_tab name=”Tab 2″ link=”tab2-slug” ]Content for Tab 2[/bootstrap_tab]
    [bootstrap_tab name=”Tab 3″ link=”tab3-slug”]Content for Tab 3[/bootstrap_tab]
    [end_bootstrap_tab]

  • The topic ‘Inserting a shortcode within a shortcode’ is closed to new replies.