最近まで 知らなかった関数なのですが
WordPressの codexに 載っていたので 使ってみました

<?php

//---------------------------------------------------------------------------
//  スタイルシートとスクリプトの読み込み
//---------------------------------------------------------------------------

add_action( 'wp_enqueue_scripts', function() {
  
  wp_enqueue_style( 'bootstrap',            get_template_directory_uri() . '/resources/css/bootstrap.min.css', array(), NULL );
  wp_enqueue_style( 'bootstrap-theme',      get_template_directory_uri() . '/resources/css/bootstrap-theme.min.css', array( 'bootstrap' ), NULL );
  
  wp_enqueue_script( 'bootstrap',           get_template_directory_uri() . '/resources/js/bootstrap.min.js', array( 'jquery' ), NULL, true );
  
} );

Related Article

自作 テーマ の 調整 が 徐々 に 終わってきました!!

詳細へ »

2016/07/27 に Bootstrap 4 Alpha 3 が 発表

詳細へ »

cakePHP 3 を 直接 触って 覚えてみることにした No.3

詳細へ »