まず振り分けが出来るようにfunctions.phpに下記を記述する
【functions.php】
/* カスタムフィールドで外部CSSを複数読み込み */
function include_custom_css(){
if(is_single()||is_page()){
if($css = get_post_meta(get_the_ID(), 'includeCSS', true)){
echo "\n";
}
}
}
add_action('wp_head','include_custom_css');
WPでカスタムフィールドを出す
カスタムフィールド 名前:includeCSS
URL:http://felice-hairsalon.com/wp-content/themes/felice/css/style-curce.css
cssのフォルダを作って、フォルダの中も指定できる