GT Tabs (formerly postTabs)
how to load a certain tab automatically (5 posts)

  1. chinochaos
    Posted 5 years ago #

    I have installed GT tabs and it works fine, but I would like a certain tab to load each time the website loads. At the moment the first tab automatically loads. Does anyone know how to do this?

    The website in question is:

    An example of how I mean it to be is:

    (In this example, the third tag is automatically loaded, whereas on my website the first tag is automatically loaded)

    Thanks for any help!

  2. Diomenas
    Plugin Author

    Posted 4 years ago #


    Currently the default tab is always the first tab; however with permalinks enabled, the tabs always revert back to the last tab the viewer was on (using cookies). I have not created a method for setting a default tab that is not the first tab as this is not how I envision most sites using this plugin. I will however be glad to consider this for future releases.

  3. thestormtrooper
    Posted 4 years ago #


    I am also looking for something similar to this?

    I'd like to know how I create a hyperlink from one tab to another without the page reloading? This is so I can have links to information in another tab from tab 1 so the person doesn't have to go and click the tab at the top of the page.

    Any help is greatly appreciated!


  4. thestormtrooper
    Posted 4 years ago #

    I figured out how to do what I wanted, not sure if the right way or not but it works well enough:

    Link to Tab 2:
    <a id="41_1" href="#GTTabs_ul_41" class="GTTabsLinks">Link Text Here</a>

    Link to Tab 3:
    <a id="41_2" href="#GTTabs_ul_41" class="GTTabsLinks">Link Text Here</a>

    and so on...

    Hope that helps someone else.

  5. Foreverbarcelona
    Posted 4 years ago #

    Thank you Thestormtrooper!
    It worked like charm!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • GT Tabs (formerly postTabs)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic