function register_tag_styles() { wp_register_style( 'tag-circulair-template', get_stylesheet_directory_uri() . '/layout-circulair.css' ); wp_register_style( 'tag-circulair-kantoor-template', get_stylesheet_directory_uri() . '/layout-circulair.css' ); } add_action( 'wp_enqueue_scripts', 'register_tag_styles' );
function register_tag_styles() {
wp_register_style( 'tag-circulair-template', get_stylesheet_directory_uri() . '/layout-circulair.css' );
wp_register_style( 'tag-circulair-kantoor-template', get_stylesheet_directory_uri() . '/layout-circulair.css' );
}
add_action( 'wp_enqueue_scripts', 'register_tag_styles' );
This code does the trick for me, but i think it's totoo complicated when i have more than 10 tags with different stylesheets.....