Title: Only load scripts / CSS with shortcode not working
Last modified: January 23, 2018

---

# Only load scripts / CSS with shortcode not working

 *  Resolved [joycegrace](https://wordpress.org/support/users/joycegrace/)
 * (@joycegrace)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/only-load-scripts-css-with-shortcode-not-working/)
 * Hello, just reporting that when selecting either:
 * Only load scripts with shortcode.
 * or
 * Only load CSS with shortcode.
 * The rules don’t apply. Plugin scripts and CSS load on pages that are not using
   the collapse-o-matic shortcodes. In other words, they load globally regardless
   of checking these settings.
 * Also not loading in the footer, even if that is selected in Settings.
 * Will this be fixed soon?
 * I can happily provide a sample page privately, if possible.
 * Thank you

Viewing 1 replies (of 1 total)

 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/only-load-scripts-css-with-shortcode-not-working/#post-9892516)
 * We just did a test to verify that both script load location and script/css load
   only with shortcode are working on a standard wordpress install. We have tested
   this across multiple templates and configurations so there must be something 
   non-standard with your setup.
 * Please verify that you have saved the changes to the plugin settings page.
    Check
   that any cache has been purged, as this will (naturally) not be loading the current
   status.
 * If you would like to include a link to your page we would be happy to help troubleshoot
   further.

Viewing 1 replies (of 1 total)

The topic ‘Only load scripts / CSS with shortcode not working’ 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

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [js](https://wordpress.org/support/topic-tag/js/)

 * 1 reply
 * 2 participants
 * Last reply from: [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/only-load-scripts-css-with-shortcode-not-working/#post-9892516)
 * Status: resolved