Title: wp_enqueue-ing scripts and CSS?
Last modified: January 8, 2018

---

# wp_enqueue-ing scripts and CSS?

 *  [fneumeier](https://wordpress.org/support/users/fneumeier/)
 * (@fneumeier)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/wp_enqueue-ing-scripts-and-css/)
 * Hi,
 * is there a change you’ll change the way the plugin is including the panopress
   Javascript and CSS into WordPress the official and recommended way, i.e. using
   wp_enqueue_script() and wp_enqueue_style() ?
 * The issue is that the Panopress ressources are being loaded into every single
   WordPress post, while they’re only needed in very few posts and hence causing
   performance issues and code overhead. When a plugin is using wp_enqueue_script()
   and wp_enqueue_style() it’s easy to deal with it by using wp_dequeue_script()
   and wp_dequeue_style() for posts/templates where the plugin is not needed. Without
   that, it’s pretty impossible.
 * And yes, I know, there are wys to defer, async ressources and move them to the
   footer; but still, the plugin is loaded while not needed on most pages and it’s
   not compliant with WP standards.
 * So, is there a chance this otherwise great plugin will become compliant with 
   WordPress standards using wp_enqueue_… in the next version?
 * Thanks and kind regards,
    Franz

The topic ‘wp_enqueue-ing scripts and CSS?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/panopress_282a47.svg)
 * [PanoPress](https://wordpress.org/plugins/panopress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/panopress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/panopress/)
 * [Active Topics](https://wordpress.org/support/plugin/panopress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/panopress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/panopress/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: [fneumeier](https://wordpress.org/support/users/fneumeier/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/wp_enqueue-ing-scripts-and-css/)
 * Status: not resolved