Asset Optimization can’t find .css file
-
I loaded css file via child theme’s functions.php like this
add_action(‘wp_head’, ‘slick_css’);
function slick_css(){ ?>
<link rel=”stylesheet” type=”text/css” href=”https://mixing.co.kr/wp-content/themes/generatepress-child/js/slick/slick.css”/>
<link rel=”stylesheet” type=”text/css” href=”https://mixing.co.kr/wp-content/themes/generatepress-child/js/slick/slick-theme.css”/>
<?php }but I can’t find slick-theme.css in asset optimization.
I’m using Manual mode. I’m experiencing issue that sometimes slick’s css is not loaded properly.Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Asset Optimization can’t find .css file’ is closed to new replies.