Can't enqueue css
-
functions.php
function load_stuff() { if (!is_admin()) { wp_register_style('font-awesome', get_stylesheet_directory_uri() . '/css/font-awesome.min.css', array(), '20120208', 'all'); wp_enqueue_style('font-awesome'); } } add_action('wp_enqueue_scripts', 'load_stuff');This is not working. I even tried
bloginfo('template_url')instead ofget_stylesheet_directory_uri()but it isn’t working
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Can't enqueue css’ is closed to new replies.