Home Page › Forums › WooCommerce Custom Tabs › Anchor link? › Reply To: Anchor link?
Hi,
In WooCommerce Custom Tabs v1.0.13 this function is available from now, you can download this version from “MY ACCOUNT” menu in webshoplogic.com.
What is the format of the anchor links?
The format of the link to a product tab:
http://mysite.com/product/my-product/#tab-my-content
or
http://mysite.com/product/my-product/#tab-my-content&noscroll
Both format select the appropriate tab. If you are using &noscroll option (or other parameter after the anchor), the top of the page will be displayed, otherwise the browser will scroll down to the anchor (if there is nothing after the anchor).
How do you know the name of the anchor?
WooCommerce standard anchor names should be use in the end of the URL. The browser display them on the bottom, if you move the mouse over the appropriate tab. You should apply the part of the URL after the # mark. (e.g. #tab-my-content or #tab-faq)
Two live examples:
http://webshoplogic.com/product/woocommerce-custom-tabs-pro-plugin/#tab-faq
http://webshoplogic.com/product/woocommerce-custom-tabs-pro-plugin/#tab-faq&noscroll
We hope this is a useful function.
Peter