Skip to content
Permalink
Browse files

親テーマstyle.cssの読み込み関数の追加

  • Loading branch information...
yhira committed Jun 14, 2018
1 parent c0dafee commit 266194d7759cd5793697c785593a522fd9e06a5b
Showing with 8 additions and 1 deletion.
  1. +1 −1 lib/scripts.php
  2. +7 −0 lib/utils.php
@@ -13,7 +13,7 @@ function wp_enqueue_scripts_custom() {
///////////////////////////////////////////
//テーマスタイルの呼び出し
///////////////////////////////////////////
wp_enqueue_style( THEME_NAME.'-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style_theme_style_css();
///////////////////////////////////////////
//Font Awesome
@@ -246,6 +246,13 @@ function get_highlight_js_css_url(){
}
endif;
//親テーマstyle.cssの読み込み
if ( !function_exists( 'wp_enqueue_style_theme_style_css' ) ):
function wp_enqueue_style_theme_style_css(){
wp_enqueue_style( THEME_NAME.'-style', get_template_directory_uri() . '/style.css' );
}
endif;
//Font Awesomeの読み込み
if ( !function_exists( 'wp_enqueue_style_font_awesome' ) ):
function wp_enqueue_style_font_awesome(){

0 comments on commit 266194d

Please sign in to comment.
You can’t perform that action at this time.