Is there a way to make a certain tab be selected by default via shortcode parameter or programmatically through php while generating the page for the users?
I want to display different tab active by default for different users. Eg. New users are displayed the information in 1st tab that is relevant for them, while existing users are automatically shown tab 2 which brings them back to where they left off.
It's the same page accessed through the same url and I don't wish to redirect them to a tab anchor link just to select a different tab.
Is it possible to create a tab structure directly via html instead of using shortcodes? And then give the link element of the active tab an "active-tab" class? Or would creating the functionality of tabs also include some kind of javascript injection?
Is there a way to make a certain tab be selected by default via shortcode parameter or programmatically through php while generating the page for the users?
I want to display different tab active by default for different users. Eg. New users are displayed the information in 1st tab that is relevant for them, while existing users are automatically shown tab 2 which brings them back to where they left off.
It's the same page accessed through the same url and I don't wish to redirect them to a tab anchor link just to select a different tab.
Hi there,
I am afraid its not possible as this may require customization which is beyond our scope of support.
Thanks.
Is it possible to create a tab structure directly via html instead of using shortcodes? And then give the link element of the active tab an "active-tab" class? Or would creating the functionality of tabs also include some kind of javascript injection?
Hey Again,
You can select the tab via URL like below.
The links are generated by the titles like this : http://pasquales.bestwebsitesinwv.com/menu/?tab=dinner . For complex titles with special characters you will have to write the encoded url using the Browser Console window: http://prntscr.com/h7s3k2 .
http://pasquales.bestwebsitesinwv.com/menu/?tab=Wine%20%26%20Beer .
Be.st
ThemeNectar Support Team