I'm using _s to build a theme. I want to have different styles for different pages. I can figure out how to get two pages working but I want different styles for 5 pages? Maybe an else if statement? I would really appreciate some help.
here is my code.
if (is_page_template('page-templates/page-about.php')) {
wp_enqueue_style( 'sentiencesentient-layout-style' , get_template_directory_uri() . '/layouts/about.css');
} else{
wp_enqueue_style('sentiencesentient-layout-style' , get_template_directory_uri() . '/layouts/content-full.css');
}
many thanks