• Resolved jayceezay

    (@jayceezay)


    Hi. This is a great plugin. However, I’d like to know if in the next version, you could find a way to prevent the plugin’s *.css and *.js files from loading on posts and pages that do not use the plugin? My site has around 50 posts, but it is only using the plugin’s functionality on 4 posts. However, it seems like the following *.css and *.js files are being loaded on all posts and pages:

    Source: /wp-content/plugins/copy-the-code/assets/css/copy-the-code.css

    Source: /wp-content/plugins/copy-the-code/assets/js/copy-the-code.js

    Source: /wp-content/plugins/copy-the-code/assets/js/clipboard.js

    Source: /wp-content/plugins/copy-the-code/assets/css/copy-inline.css

    Source: /wp-content/plugins/copy-the-code/assets/js/copy-inline.js

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘prevent plugin’s css and js files from loading’ is closed to new replies.