Support » Plugin: Easy Responsive Tabs » How to use this in template php file

Viewing 3 replies - 1 through 3 (of 3 total)
  • patmatt


    I have the same question as rajbir4all!!

    Plugin Author osCitas Themes



    Yes, you can use the tabs shortcode in template file in the following way

    echo do_shortcode('[restabs text="More"][restab title="Description" active="active"]Tab1[/restab][restab title="Gallery"]Gallery[/restab][restab title="Reviews"]<div id="product_comments">Comments</div>[/restab][/restabs]');




    @oscitasthemes, Is there a way to get this to work with the_content()?

    I tried using your example in a page template for a single post type. One tab is getting the post’s excerpt, while another tab is supposed to get the content. The excerpt shows just fine, the content does not.

    Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to use this in template php file’ is closed to new replies.