WordPress.org

Ready to get started?Download WordPress

Forums

Sliderly
Please enqueue your css correctly! (3 posts)

  1. withinboredom
    Member
    Posted 8 months ago #

    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/

  2. withinboredom
    Member
    Posted 8 months ago #

    Also, please set your javascript requires instead of just enqueueing a bunch of jquery and hoping it all comes out in order.

  3. withinboredom
    Member
    Posted 8 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic