• Please correct your code; if you make the below changes whenever required, this can be used on a https domain. If SSL is used WP_PLUGIN_URL is wrong, it should be as follows;

    – wp_enqueue_style(‘rps-style’, WP_PLUGIN_URL.’/recent-posts-slider/css/style.css’);
    + wp_enqueue_style(‘rps-style’, plugins_url(‘/recent-posts-slider/css/style.css’));

    https://www.ads-software.com/plugins/recent-posts-slider/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Incorrect usage of WP_PLUGIN_URL’ is closed to new replies.