Skip to main content
added 25 characters in body
Source Link
Mark Kaplun
  • 23.7k
  • 7
  • 43
  • 65

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.....

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 to complicated when i have more than 10 tags with different stylesheets.....

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 too complicated when i have more than 10 tags with different stylesheets.....

Source Link
bets
  • 11
  • 3

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 to complicated when i have more than 10 tags with different stylesheets.....