Title: Collides with Bootstrap
Last modified: February 9, 2017

---

# Collides with Bootstrap

 *  Resolved [dekket](https://wordpress.org/support/users/dekket/)
 * (@dekket)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/collides-with-bootstrap/)
 * Hello.
 * This plugin collides with Bootstrap. Can I somehow de-register the plugin version
   of bootstrap.js?
 * Thanks.

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

 *  Plugin Author [wpshopmart](https://wordpress.org/support/users/wpshopmart/)
 * (@wpshopmart)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/collides-with-bootstrap/#post-8785415)
 * Hi,
 * Can you please share me your accordion page url?
 * Thanks
 *  Thread Starter [dekket](https://wordpress.org/support/users/dekket/)
 * (@dekket)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/collides-with-bootstrap/#post-8785432)
 * Certainly: [http://hammar.obdev.se/products/personal-safety-mob/lifejacket-inflator/faq/](http://hammar.obdev.se/products/personal-safety-mob/lifejacket-inflator/faq/)
 * I’m registering my bootstrap.min.js in my theme.
 * Essentially, the output becomes this:
    <script type=’text/javascript’ src=’/path/
   to/bootstrap.min.js’></script> <script type=’text/javascript’ src=’/wp-content/
   plugins/accordion-shortcode-and-widget/js/bootstrap.js?ver=4.7.2′></script>
 * Also, please compress your .js files. They are all human-readable and that is
   not necessary. Thanks.
    -  This reply was modified 9 years, 4 months ago by [dekket](https://wordpress.org/support/users/dekket/).
      Reason: Merging comments
 *  Thread Starter [dekket](https://wordpress.org/support/users/dekket/)
 * (@dekket)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/collides-with-bootstrap/#post-8785435)
 * This comment was merged with previous one.
    -  This reply was modified 9 years, 4 months ago by [dekket](https://wordpress.org/support/users/dekket/).
    -  This reply was modified 9 years, 4 months ago by [dekket](https://wordpress.org/support/users/dekket/).
      Reason: Merged
 *  Plugin Author [wpshopmart](https://wordpress.org/support/users/wpshopmart/)
 * (@wpshopmart)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/collides-with-bootstrap/#post-8785649)
 * Hello,
 * Follow my steps here to de-register bootstrap.js.
 * Step-1 : open your plugin directory and then open responsive-accordion-and-collapse
   plugin folder.
 * Step-2 : Now open lib folder and then open installation folder.
 * Step-3 : In installation folder you will see a file **installation.php ** , open
   it on any editor
 * Step-4 : Go to near line no. 16 and then find below code there –
 *     ```
       wp_enqueue_script( 'wpsm_ac_bootstrap-js-front', wpshopmart_accordion_directory_url.'js/bootstrap.js', array(), '', true );
       ```
   
 * Step-5: replace above code with line of code –
 * `//wp_enqueue_script( 'wpsm_ac_bootstrap-js-front', wpshopmart_accordion_directory_url.'
   js/bootstrap.js', array(), '', true );`
 * Check [screenshot ](https://postimg.org/image/u7yxt9k0t/)for help –
 * Step-5: Save your code and then let me know.
 * Thanks
 *  Thread Starter [dekket](https://wordpress.org/support/users/dekket/)
 * (@dekket)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/collides-with-bootstrap/#post-8785690)
 * Thanks.
 * However I will disable the theme bootstrap.min.js instead, as it is an older 
   version than yours. However it’d be nice if there was a setting in the plugin
   where I could disable bootstrap loading instead of editing the code. I wanna 
   maintain the ability to update.
 * I manage some 50 sites and it’s hard to keep track of what to update, when to
   update and so on, as it is 🙂

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

The topic ‘Collides with Bootstrap’ is closed to new replies.

 * ![](https://ps.w.org/responsive-accordion-and-collapse/assets/icon-128x128.png?
   rev=2339019)
 * [Accordion FAQ - Compatible With All Page Builder (Elementor, Gutenberg)](https://wordpress.org/plugins/responsive-accordion-and-collapse/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-accordion-and-collapse/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-accordion-and-collapse/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-accordion-and-collapse/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-accordion-and-collapse/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-accordion-and-collapse/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [dekket](https://wordpress.org/support/users/dekket/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/collides-with-bootstrap/#post-8785690)
 * Status: resolved