I would like to use the Tab Shortcode construction in my template so I don't have to add it in WYSIWYG editor every time I create a post.
<?php echo do_shortcode('[contact-form]'); ?>
for example, works fine but if I try to place the array below inside <?php echo do_shortcode( $content ) ?> it breaks completely
[tab title='Get a Quotation' active]
[contact-form 3 "Quotation"]
[tab title='Give Your Feedback']
[contact-form 2 "Feedback"]
[tab title='General Enquiries']
[contact-form 1 "General Enquiry"]
Any thoughts about how I could deconstruct the tabs using what I have found in the 'toggle_tabs.php" or building the forms back up? I can write my own functions so no need for step-by step - a code example or some links will be fine - Thanks!