WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Anchor Links between Tabs

[Resolved] Anchor Links between Tabs

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Gardner

    @jgardner03

    Hi wasanajones,

    Thank you for using my plugin and for the kind words. You wouldn’t have to edit any of the javascript files to get that linking working.

    Assuming you haven’t set the id parameter of the shortcode, it will default to name. To set an anchor link to a tab called Business on a Page called About on domain mydomain.com, here’s the anchor link you’d create:
    < a href="mydomain.com/about#business" >My Link< /a >

    Removing the spaces, of course. Hopefully that helps.

    thanks for the prompt reply, still have troubles with this. seems like it should be simple, but can’t get things working for a link from one tab to another, or a same page link. and using /about#business/ (with the href and quotes and slashes, but without domain) is breaking the tabs

    Plugin Author John Gardner

    @jgardner03

    If the linking occurs on the same page, then the href link should only point to “tab” plus the tab title

    I was incorrect in my initial example, the href link should have been /about#tab-business

    Check out http://test.arconixpc.com/tabs/#tab-tab-2 as an example

    thanks, appreciate the help. “/page#tab-tabtitle”

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Anchor Links between Tabs’ is closed to new replies.