Hi,
Can you please share me your accordion page url?
Thanks
Thread Starter
dekket
(@dekket)
Certainly: 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. Reason: Merging comments
Thread Starter
dekket
(@dekket)
This comment was merged with previous one.
-
This reply was modified 9 years, 4 months ago by
dekket.
-
This reply was modified 9 years, 4 months ago by
dekket. Reason: Merged
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 for help –
Step-5: Save your code and then let me know.
Thanks
Thread Starter
dekket
(@dekket)
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 🙂