Is there a way to make an anchor link in my main menu go to the tab section on a particular page and open the corresponding tab?
Hey mattb1169,
Please try this solution
Best regards,
Mike
Thanks Mike,
I added the script to the child theme functions.php file and added the ?tabsort=2 to the custom menu link. This broke the site, the full width sliders are not showing up on any of the pages. I switched it back. I’ve tried it using the /#anchor to bring the user to the tab section on the desired page and also tried just the ?tabsort=
http://mysite.com/content-page/#tag?tabsort=2
http://mysite.com/content-page?tabsort=2
Those didn’t work, although the second one didn’t break the site. Any ideas as to what I’m doing wrong?
Hi,
I took a look and found that the links can be changed a little to work, please see link in Private Content area.
Best regards,
Mike
Thanks Mike. The link did show that particular tab open but when the user would click the menu item from a different page it does not utilize the anchor tag, taking the user to where the tab element is on the target page. Is there a way to include that anchor AND have the specific tab open?
I tried something like the following and it didn’t work:
http://mysite.com/content-page/#tabelement/?tabsort=2#tabtitle