Title: Please enqueue your css correctly!
Last modified: August 21, 2016

---

# Please enqueue your css correctly!

 *  [withinboredom](https://wordpress.org/support/users/withinboredom/)
 * (@withinboredom)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/please-enqueue-your-css-correctly/)
 * please do not echo out a <link> tag and enqueue your css script correctly so 
   that the slider will load on https enabled sites!
 * [http://wordpress.org/plugins/sliderly/](http://wordpress.org/plugins/sliderly/)

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

 *  Thread Starter [withinboredom](https://wordpress.org/support/users/withinboredom/)
 * (@withinboredom)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/please-enqueue-your-css-correctly/#post-4322242)
 * Also, please set your javascript requires instead of just enqueueing a bunch 
   of jquery and hoping it all comes out in order.
 *  Thread Starter [withinboredom](https://wordpress.org/support/users/withinboredom/)
 * (@withinboredom)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/please-enqueue-your-css-correctly/#post-4322248)
 * For anyone else who needs a quick hack, place right under $url = ..
 * for Linux based servers
 *     ```
       if(isset($_SERVER['HTTPS'])) {
                       $url = str_replace('http', 'https', $url);
               }
       ```
   
 * and for IIS
 *     ```
       if(!isset($_SERVER['HTTPS'])) {
                       $url = str_replace('http', 'https', $url);
               }
       ```
   
 * in css.php and js.php
 * Dear plugin developer, PLEASE DO NOT USE THIS and if you are looking for late
   loading of css/js, look up how to put your javascript and css into the footer,
   there is plenty of information in the codex.

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

The topic ‘Please enqueue your css correctly!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sliderly.svg)
 * [Sliderly](https://wordpress.org/plugins/sliderly/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sliderly/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sliderly/)
 * [Active Topics](https://wordpress.org/support/plugin/sliderly/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sliderly/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sliderly/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [withinboredom](https://wordpress.org/support/users/withinboredom/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/please-enqueue-your-css-correctly/#post-4322248)
 * Status: not resolved