/* Adding Plugin custm CSS file */
if(!empty($_SERVER[‘HTTPS’]) && $_SERVER[‘HTTPS’] != ‘off’){
wp_enqueue_style(‘rt-wpp-plugin-style’, str_replace( ‘http:’,’https:’, RT_WPP_PLUGIN_PATH ).’css/prettyPhoto.css’);
} else {
wp_enqueue_style(‘rt-wpp-plugin-style’, RT_WPP_PLUGIN_PATH.’css/prettyPhoto.css’);
}
[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]
-
This reply was modified 7 years, 8 months ago by bdbrown.
-
This reply was modified 7 years, 8 months ago by bdbrown.