Title: Set active tab
Last modified: August 22, 2016

---

# Set active tab

 *  Resolved [AndresHolmes](https://wordpress.org/support/users/andresholmes/)
 * (@andresholmes)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/set-active-tab/)
 * Hi,
    thanks for this great plugin. Can I somehow manually set the active tab 
   so that it would be other than the first one? If not, would you please be able
   to add this function?
 * [https://wordpress.org/plugins/tabs-shortcodes/](https://wordpress.org/plugins/tabs-shortcodes/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/set-active-tab/#post-5633749)
 * 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](https://wordpress.org/support/users/andresholmes/)
 * (@andresholmes)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/set-active-tab/#post-5633750)
 * 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/&#8221](http://domain.com/your-page/&#8221);,“
   [http://domain.com/your-page2/&#8221](http://domain.com/your-page2/&#8221); 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](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/set-active-tab/#post-5633751)
 * 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](https://wordpress.org/support/users/andresholmes/)
 * (@andresholmes)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/set-active-tab/#post-5633752)
 * Ok, thank you for considering that 🙂
 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/set-active-tab/#post-5633754)
 * 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](https://wordpress.org/support/users/andresholmes/)
 * (@andresholmes)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/set-active-tab/#post-5633755)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/tabs-shortcodes.svg)
 * [Tabs Shortcodes](https://wordpress.org/plugins/tabs-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tabs-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tabs-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/tabs-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tabs-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tabs-shortcodes/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [AndresHolmes](https://wordpress.org/support/users/andresholmes/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/set-active-tab/#post-5633755)
 * Status: resolved