Squelch Tabs and Accordions Shortcodes
[resolved] Set tabs collapsed upon page load (3 posts)

  1. rchrisbishop
    Posted 1 year ago #

    I like the way the tabs can be collapsed with a click. Is there a way to have the tabs already collapsed on the page load?

    I tried setting the Tabs default array to

    'active' => false,

    with no effect.


  2. squelch_tanya
    Posted 1 year ago #

    I have referred this to the developer to be looked into.

  3. Matt Lowe
    Plugin Author

    Posted 1 year ago #

    You should be able to do this in the shortcode itself, you shouldn't need to change any code in the plugin:

    [tabs title="" disabled="false" collapsible="true" active="false" event="click"]
    [tab title="Welcome"]
    Tab one
    [tab title="Another tab"]
    Tab two

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Squelch Tabs and Accordions Shortcodes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic