Title: [Plugin: jQuery Collapse-O-Matic] Not triggering, possible javascript conflict?
Last modified: August 20, 2016

---

# [Plugin: jQuery Collapse-O-Matic] Not triggering, possible javascript conflict?

 *  Resolved [anarchocapitalist](https://wordpress.org/support/users/anarchocapitalist/)
 * (@anarchocapitalist)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-jquery-collapse-o-matic-not-triggering-possible-javascript-conflict/)
 * Recently upgraded to Version 1.4.9. Also recently updated my parent theme Boilerplate.
   As site is in development you’ll need a login to see it so I created:
 * Username: Test
    Password: test1234
 * The page that uses Collapse-O-Matic is the home page: [http://anarcho-capitalist.org/](http://anarcho-capitalist.org/).
   There are 4 category lists, each item in each list is supposed to expand and 
   show a description and some links. In a highlander fashion.
 * I’ve used php to call the plugin (if that’s the way to phrase it) in the index.
   php page template. See code: [pastebin](http://pastebin.com/rgetFcUZ).
 * The triggers don’t work and the content stays hidden. I’ve read the forums and
   I’ve tried things to no success. I read about removing the div class “content_collapse_wrapper”.
   This just made the content visible by default, but also won’t collapse. As seen
   at this anchor:
 * [http://anarcho-capitalist.org/#freemarket](http://anarcho-capitalist.org/#freemarket)
 * My custom child theme uses javascript for a nifty sidebar menu which floats as
   you scroll up and down the page. So maybe this is causing problems with the parent
   theme and/or Collapse-O-Matic? Not sure as I don’t know much about javascript.
   I don’t seem to have any javascript errors in my console though so I’m stumped.
 * Please help as I love this plugin to bits and often use it commercially.
 * [http://wordpress.org/extend/plugins/jquery-collapse-o-matic/](http://wordpress.org/extend/plugins/jquery-collapse-o-matic/)

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

 *  Plugin Author [Baden](https://wordpress.org/support/users/baden03/)
 * (@baden03)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-jquery-collapse-o-matic-not-triggering-possible-javascript-conflict/#post-3123326)
 * Hello. It seems that your template is not loading in the collapse-o-matic jQuery
   required to trigger the expand/collapse. It is for some reason loading in the
   css… did you insert this manually into your header.php file? Make sure your header
   includes the head(); line. If that does not work, you must manually insert the
   collapse.min.js file, located in the plugins > jquery-collapse-o-matic folder.
 * Please let us know if you get this figured out!
 *  Thread Starter [anarchocapitalist](https://wordpress.org/support/users/anarchocapitalist/)
 * (@anarchocapitalist)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-jquery-collapse-o-matic-not-triggering-possible-javascript-conflict/#post-3123358)
 * Thank you for the fast reply Baden. Issue resolved! Though for me I have more
   to learn…
 * It’s basically the Boilerplate theme. Boilerplate tries to reduce http requests
   but when it was adapted as a WP theme, the developers had to compromise a little
   it seems.
 * I copied the code from collapse.min.js into a boilerplate file called scripts.
   js in the js directory of my parent theme, and hey presto it works! (I tried 
   putting it in the child theme’s js directory but the theme seems to automatically
   looks for it in the parent theme… I’m thinking it would be better in the child
   theme but that is a Boilerplate issue).
 * So I think this is normal for the nature of Boilerplate, which is I’m assuming
   to sacrifice plugin user-friendliness for more efficient code.
 * Also, for those experiencing similar issues, do not use a div “content_collapse_wrapper”
   for the collapsable content (as suggested in the “roll-your-own” thread. It’s
   not necessary anymore.
 * Thanks again Baden! This really is an awesome script that I will continue to 
   use commercially. Also, customer service, considering this is free is (unbelievably)
   excellent.

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

The topic ‘[Plugin: jQuery Collapse-O-Matic] Not triggering, possible javascript
conflict?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jquery-collapse-o-matic_fffeff.svg)
 * [Collapse-O-Matic](https://wordpress.org/plugins/jquery-collapse-o-matic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-collapse-o-matic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-collapse-o-matic/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-collapse-o-matic/reviews/)

## Tags

 * [boilerplate](https://wordpress.org/support/topic-tag/boilerplate/)
 * [collapse](https://wordpress.org/support/topic-tag/collapse/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [matic](https://wordpress.org/support/topic-tag/matic/)
 * [trigger](https://wordpress.org/support/topic-tag/trigger/)

 * 2 replies
 * 2 participants
 * Last reply from: [anarchocapitalist](https://wordpress.org/support/users/anarchocapitalist/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-jquery-collapse-o-matic-not-triggering-possible-javascript-conflict/#post-3123358)
 * Status: resolved