Last active
September 14, 2021 18:09
-
-
Save KaineLabs/67734d0d639b30df35765b168acdbe01 to your computer and use it in GitHub Desktop.
Youzify - Fix Jnews Theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Youzify - Fix Jnews Theme. | |
* */ | |
add_action( 'wp_head', 'yzc_fix_jnews_theme_script', 999 ); | |
function yzc_fix_jnews_theme_script() { | |
if ( is_user_logged_in() ) { | |
return; | |
} | |
if ( class_exists( 'Youzify' ) ) { | |
?> | |
<link rel="stylesheet" href="<?php echo YOUZIFY_ASSETS . 'css/youzify-directories.min.css'; ?>"> | |
<link rel="stylesheet" href="<?php echo site_url() . '/wp-includes/css/dashicons.min.css'; ?>"> | |
<?php | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment