WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. chinochaos
    Member
    Posted 2 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:
    http://www.footballargentina.com/fixturesandresults/

    An example of how I mean it to be is:
    http://www.afa.org.ar/index.php?option=com_wrapper&view=wrapper&Itemid=94

    (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
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    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
    Member
    Posted 2 years ago #

    Hi,

    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!

    Thanks.

  4. thestormtrooper
    Member
    Posted 2 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
    Member
    Posted 1 year ago #

    Thank you Thestormtrooper!
    It worked like charm!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags