Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function jqlb_css(){
- if(is_admin() || is_feed()){return;}
- $locale = jqlb_get_locale();
- $fileName = "lightbox.min.$locale.css";
- $path = JQLB_PLUGIN_DIR . "/styles/{$fileName}";
- if(!is_readable($path)){
- $fileName = 'lightbox.min.css';
- }
- wp_enqueue_style('jquery.lightbox.min.css', JQLB_STYLES_URL . $fileName, false, '1.3');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement