0
我找不出我的代碼出了什麼問題。這是迄今爲止我看到這個錯誤在函數.php中排隊引導有什麼問題(Wordpress)
function reg_scripts() {
wp_enqueue_style('bootstrapstylemin', get_template_directory_uri() . '/bootstrap/css/bootstrap.min.css');
wp_enqueue_style('bootstrapstyleresmin', get_template_directory_uri() . '/bootstrap/css/bootstrap-responsive.min.css');}
add_action('wp_enqueue_scripts', 'reg_scripts');
function wpbootstrap_scripts_with_jquery(){
wp_enqueue_script('custom-scriptes', get_stylesheet_directory_uri() . '/bootstrap/js/bootstrap.js', array('bootstrap-jquery'));
add_action('wp_enqueue_scripts', 'wpbootstrap_scripts_with_jquery');
I am sorry, there is a screenshot of the console
之後,我刪除了CDN的,但仍然沒有工作。
你還沒說明什麼是錯的,所以沒有任何人可以爲你做。你檢查控制檯是否有錯誤?即。 404上的文件?# – David