Title: Include crayon under condtion
Last modified: August 22, 2016

---

# Include crayon under condtion

 *  [Olaf Lederer](https://wordpress.org/support/users/finalwebsites/)
 * (@finalwebsites)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/include-crayon-under-condtion/)
 * Hi,
    I remember me that in a previous version of Crayon the CSS and JS code was
   only included when a crayon snippet was used. This is changed now and all JS /
   CSS is added to any page even to the homepage and the archives. Why do you changed
   this?
 * Sure I can filter them from my theme, but it was just great that a developer 
   takes care about 🙂
 * Thanks
 * [https://wordpress.org/plugins/crayon-syntax-highlighter/](https://wordpress.org/plugins/crayon-syntax-highlighter/)

The topic ‘Include crayon under condtion’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/crayon-syntax-highlighter_b0c4c0.
   svg)
 * [Crayon Syntax Highlighter](https://wordpress.org/plugins/crayon-syntax-highlighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/crayon-syntax-highlighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/crayon-syntax-highlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/crayon-syntax-highlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/crayon-syntax-highlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/crayon-syntax-highlighter/reviews/)

## Tags

 * [wp_enqueue_script](https://wordpress.org/support/topic-tag/wp_enqueue_script/)
 * [wp_enqueue_style()](https://wordpress.org/support/topic-tag/wp_enqueue_style/)

 * 0 replies
 * 1 participant
 * Last reply from: [Olaf Lederer](https://wordpress.org/support/users/finalwebsites/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/include-crayon-under-condtion/)
 * Status: not resolved