Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法在Wordpress主题上使用引导动态选项卡_Wordpress_Tabs_Bootstrap 4 - Fatal编程技术网

无法在Wordpress主题上使用引导动态选项卡

无法在Wordpress主题上使用引导动态选项卡,wordpress,tabs,bootstrap-4,Wordpress,Tabs,Bootstrap 4,我试图通过使用引导代码将动态选项卡添加到我的Wordpress主题(Hestia),如中所示 作为参考,“Hestia”主题已经包含Bootstrap css和js以及主题的“function.php”文件中要运行Bootstrap的以下代码行: function my\u scripts\u enqueue(){ wp_register_脚本('bootstrap js',get_template_directory_uri()。/js/bootstrap.min.js',array('jq

我试图通过使用引导代码将动态选项卡添加到我的Wordpress主题(Hestia),如中所示

作为参考,“Hestia”主题已经包含Bootstrap css和js以及主题的“function.php”文件中要运行Bootstrap的以下代码行:

function my\u scripts\u enqueue(){
wp_register_脚本('bootstrap js',get_template_directory_uri()。/js/bootstrap.min.js',array('jquery'),NULL,true);
wp_register_样式('bootstrap css',get_template_directory_uri()。/css/bootstrap.min.css',false,NULL,'all');
wp_排队_脚本('bootstrap js');
wp_排队_样式(“引导css”);
}
添加_操作('wp_排队_脚本','my_脚本_排队')