Support » Plugin: Sliderly » Please enqueue your css correctly!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Also, please set your javascript requires instead of just enqueueing a bunch of jquery and hoping it all comes out in order.

    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.