Comments Jm started the conversationJune 29, 2014 at 2:25pmHello is it possible to write ui object like tabbed section, with php function? 8,839Tahir repliedJune 30, 2014 at 2:03pmHey Jm!You can wrap the shortcodes in the do_shotcode php function and then use them in page templates. All the Best,-T ThemeNectar Support Team Jm repliedJuly 3, 2014 at 8:34amHello Tahir,thanks for your reply,I added these lines of code in my templateecho do_shortcode("[tabbed_section]"); echo do_shortcode('[tab title="Tab 1" id="tt1"]'); echo "Tab Content ";echo do_shortcode("[/tab]"); echo do_shortcode("[/tabbed_section]");but it not works, I have this result :in the browser : Section vide. �ditez une page pour ajouter du contenu iciTab Content [/tab][/tabbed_section]One more question is possible to open a tabbed section with a specific url like #tab3regards,Jim 8,839Tahir repliedJuly 3, 2014 at 2:23pmHey Jim!Please see url: http://codex.wordpress.org/Function_Reference/do_s... . You need to enter the whole shortcode not divide it in parts. Also i am afraid we dont have any direct linking option available in the theme. All the Best,-T ThemeNectar Support Team Jm repliedJuly 3, 2014 at 4:48pmOk thanks for your support. Sign in to reply ...
Hello is it possible to write ui object like tabbed section, with php function?
Hey Jm!
You can wrap the shortcodes in the do_shotcode php function and then use them in page templates.
All the Best,
-T
ThemeNectar Support Team
Hello Tahir,
thanks for your reply,
I added these lines of code in my template
echo do_shortcode("[tabbed_section]");
echo do_shortcode('[tab title="Tab 1" id="tt1"]');
echo "Tab Content ";
echo do_shortcode("[/tab]");
echo do_shortcode("[/tabbed_section]");
but it not works, I have this result :
in the browser : Section vide. �ditez une page pour ajouter du contenu ici
Tab Content [/tab][/tabbed_section]
One more question is possible to open a tabbed section with a specific url like #tab3
regards,
Jim
Hey Jim!
Please see url: http://codex.wordpress.org/Function_Reference/do_s... . You need to enter the whole shortcode not divide it in parts.
Also i am afraid we dont have any direct linking option available in the theme.
All the Best,
-T
ThemeNectar Support Team
Ok thanks for your support.