Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author philbuchanan

    (@philbuchanan)

    Do you mean specify the selected tab on page load? You can link to a specific tab by adding the ID of the tab to the URL:

    http://domain.com/your-page/#tab-3

    Thread Starter AndresHolmes

    (@andresholmes)

    I know that. But as far as i know, you cannot add that “#tab-3” to a “default” link of an arcticle.
    When you have a loop of articles on main page, the link is always “http://domain.com/your-page/”, “http://domain.com/your-page2/” and so on…So the first tab always loads up. You have no way of choosing the landing tab. This thing you mentioned is usable moreover only externally.

    Plugin Author philbuchanan

    (@philbuchanan)

    Oh, I understand. Unfortunately that is not currently possible with the plugin. I will make a note and see if it’s doable for a future release.

    Thread Starter AndresHolmes

    (@andresholmes)

    Ok, thank you for considering that 🙂

    Plugin Author philbuchanan

    (@philbuchanan)

    I’ve added the option as of version 1.2.

    You can now specify which tab you would like to open by default by adding open=# to the opening tab shortcode like this:

    [tab open=2]

    That will open the second tab on page load (unless a tab is passed via the URL hash).

    Thread Starter AndresHolmes

    (@andresholmes)

    Wow, that was quick! Thank you so much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Set active tab’ is closed to new replies.