Title: openfirst not working
Last modified: August 22, 2016

---

# openfirst not working

 *  Resolved [willisgigi](https://wordpress.org/support/users/willisgigi/)
 * (@willisgigi)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/openfirst-not-working-1/)
 * I have set the openfirst attribute to true but when my page loads the first panel
   opens for just a brief moment then closes. The class on the title however remains
   set to “accordion-titlte-open”. This forces the user to have to click twice on
   the first panel before it is revealed.
 * [http://www.thecompanionanimalfoundation.org/test](http://www.thecompanionanimalfoundation.org/test)
 * [https://wordpress.org/plugins/accordion-shortcodes/](https://wordpress.org/plugins/accordion-shortcodes/)

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

 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/openfirst-not-working-1/#post-5598542)
 * I’m having trouble reproducing the issue. I’ve added a new accordion that matches
   your settings (openfirst=true and clicktoclose=true) to a clean install of the
   twenty fourteen theme which I looks like your site is based on. It all works 
   as expected for me.
 * Were you using the plugin prior to the 2.1 update that came out yesterday? Did
   it work for you then?
 *  Thread Starter [willisgigi](https://wordpress.org/support/users/willisgigi/)
 * (@willisgigi)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/openfirst-not-working-1/#post-5598547)
 * I downloaded the plugin today for the first time. I run a different site using
   a different theme and I get the same results (no css styling applied in this 
   case).
 * [http://www.dadentitservices.com/accordion](http://www.dadentitservices.com/accordion)
   test page
 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/openfirst-not-working-1/#post-5598550)
 * Hmmm. I’ve tried making a few tweaks to the JavaScript code. If you’re technailly
   savvy, would you mind testing [this development version](https://github.com/philbuchanan/Accordion-Shortcodes/archive/f6d691171d2dc552601cd67a364439f7b4d07de5.zip)
   of the plugin?
 *  Thread Starter [willisgigi](https://wordpress.org/support/users/willisgigi/)
 * (@willisgigi)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/openfirst-not-working-1/#post-5598556)
 * Still behaves the same. The only change now is that the class now is “accordion-
   title” and am able to get the panel to expand on the first click.
 *  Thread Starter [willisgigi](https://wordpress.org/support/users/willisgigi/)
 * (@willisgigi)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/openfirst-not-working-1/#post-5598559)
 * I played with the settings a bit and found that if I set the HTML Tag for Title
   to “div”, the first panel would not open once I changed it the plugin functioned
   as expected.
 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/openfirst-not-working-1/#post-5598584)
 * That is very helpful! I think I may know what the problem is. I’ll play around
   a bit and let you know what I come up with. Thanks.
 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/openfirst-not-working-1/#post-5598586)
 * Can you please give [this dev version](https://github.com/philbuchanan/Accordion-Shortcodes/archive/27a4b2aad324375a07f5a23bfff463b5c734d7cd.zip)
   a try? I think it should solve the problem. Thanks for all your help.
 *  Thread Starter [willisgigi](https://wordpress.org/support/users/willisgigi/)
 * (@willisgigi)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/openfirst-not-working-1/#post-5598605)
 * Just tried the new version and it worked! Thanks again for your help!
    Happy 
   Holidays!
 *  [Brent](https://wordpress.org/support/users/colourstone/)
 * (@colourstone)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/openfirst-not-working-1/#post-5598648)
 * Just updated. Nothing will open now!??
 * Using this shortcode, nothing has changed..
 * ‘[accordion autoclose=”true” openfirst=”true” openall=”false” clicktoclose=”true”
   accordion scroll=”true”]’
 * Please help.
    Thank you, Brent
 *  [Brent](https://wordpress.org/support/users/colourstone/)
 * (@colourstone)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/openfirst-not-working-1/#post-5598649)
 * Sorry, I meant to create a new post.
 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/openfirst-not-working-1/#post-5598687)
 * Hi willisgigi,
 * I’ve pushed a new version of the plugin with the fix for your issue as well as
   another small bug. If you don’t see the update automatically, you may need to
   reinstall v2.1.1 from the WordPress plugin repo. Or, if everything is working
   fine for you, just ignore this update. The next one should pop-up automatically.

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

The topic ‘openfirst not working’ is closed to new replies.

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

 * 11 replies
 * 3 participants
 * Last reply from: [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/openfirst-not-working-1/#post-5598687)
 * Status: resolved