If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I’m looking to be able to load a certain sidebar tab depending if I have a #anchor-name in the URL.
So, for example, I have the following sidebar tabs on a page http://www.url.com/company
[sidebar_tab title=”Title A”] Title A Content [/sidebar_tab]
[sidebar_tab title=”Title B”] Title B Content [/sidebar_tab]
[sidebar_tab title=”Title C”] Title C Content [/sidebar_tab]
If I want to send someone to a specific “open” tab on that page.. How would I do so? Eg. http://www.url.com/company/#Title-C
I tried adding an ID to the sidebar shortcode, and that didn’t work. I also tried adding an ID tag to the header within the sidebar tab content – also didn’t work.
Is this possible? How could I do it?
You must be logged in to reply to this topic.