WordPress.org

Ready to get started?Download WordPress

Forums

Squelch Tabs and Accordions Shortcodes
[resolved] Accordion Rendering As Open First (5 posts)

  1. mobetman2
    Member
    Posted 7 months ago #

    First, I want to say thanks for the plugin. Tried others but your is working the best.

    My issue is that I have added the accordion via PHP to my theme template and it's working but the form I've embedding into the accordion is displaying first then it closes.

    Is it possible to have the accordion render first as closed so visitors never see the full form unless they click on the accordion tab?

    http://wordpress.org/plugins/squelch-tabs-and-accordions-shortcodes/

  2. Matt Lowe
    Member
    Plugin Author

    Posted 6 months ago #

    I mobetman2,

    Sorry for the slow reply, your question slipped past me somehow.

    Do you mean you see the form while the page is loading, but then the accordion collapses so that you can't see it any more?

    Or do you mean the accordion's always got one pane open?

  3. mobetman2
    Member
    Posted 6 months ago #

    The first situation you mentioned. you see the form while the page is loading, but then the accordion collapses so that you can't see it any more.

    If possible, I'd like the form to never display unless the accordion is opened by the user.

  4. Matt Lowe
    Member
    Plugin Author

    Posted 6 months ago #

    Not much that can be done about that, it's down to the page load speed. The JavaScript that turns the HTML into an interactive accordion can't run until the page has loaded, if things take a while to load then the contents will be visible for a while. I'd recommend taking a look at what's slowing down the page load speed.

  5. mobetman2
    Member
    Posted 6 months ago #

    Ok, thanks for getting back. I'll check your suggestion.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.