Title: Poorly Coded
Last modified: August 20, 2016

---

# Poorly Coded

 *  Resolved [Portoa](https://wordpress.org/support/users/portoa/)
 * (@portoa)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/poorly-coded/)
 * Improvements from slidedeck 1 overabundance use of jquery, however style sheets
   do not seem to be called using wp_enqueue_style giving us no option but being
   forced to use multiple stylesheets, even worse stylesheets gets called on every
   page.. TELL ME WHY?? I have slidedeck only on my homepage, there is no need for
   slidedeck stylesheets (slidedeck.css & theme.css) both being called on every 
   page on my site.
 * [http://wordpress.org/extend/plugins/slidedeck2/](http://wordpress.org/extend/plugins/slidedeck2/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [jamie3d](https://wordpress.org/support/users/jamie3d/)
 * (@jamie3d)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/poorly-coded/#post-3206943)
 * Hi Portoa,
    I’m glad you like our code 🙂
 * You can turn off automatic enqueueing of stylesheets and JavaScripts on the advanced
   options page. If you do, remember to enqueue them yourself as this is an advanced
   implementation. [http://d.pr/i/pCC3](http://d.pr/i/pCC3)
 * Why do we do it this way? Simple!
    If a user is adding a SlideDeck to their theme
   using the `<?php shortcode ?>` then we don’t know when/where to load our stuff.
   The idea is that SlideDeck should be easy to use, so we load them by default 
   so people don’t see broken decks.
 * I hope this helps,
    -Jamie
 *  Thread Starter [Portoa](https://wordpress.org/support/users/portoa/)
 * (@portoa)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/poorly-coded/#post-3206950)
 * Thank you for clarifying that.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Poorly Coded’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slidedeck2_b6b5c8.svg)
 * [SlideDeck 2 Lite Responsive Content Slider](https://wordpress.org/plugins/slidedeck2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slidedeck2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slidedeck2/)
 * [Active Topics](https://wordpress.org/support/plugin/slidedeck2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slidedeck2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slidedeck2/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Portoa](https://wordpress.org/support/users/portoa/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/poorly-coded/#post-3206950)
 * Status: resolved