I'm trying to have multiple styles on my website. To me, this code should work but if anyone could tell me why it is not that would be great!
if (is_front_page()) {
wp_enqueue_style('custom-frontpage', get_template_directory_uri().'/stylee.css');
} else{
wp_enqueue_style('custom-frontpage', get_template_directory_uri().'/css/temp.css');
}
This is located in my functions.php.