我正在使用radix starter主题,我正在尝试添加一个子主题。在functions.php中我有这段代码
`<?php
add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
function enqueue_parent_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/includes/css/bootstrap.min.css' );
}
似乎加载了style.css文件,但它没有加载bootstrap.css或者引导java脚本文件。我是否需要为javascript文件添加uri?
我试图添加此
wp_enqueue_script(&#39; parent-style&#39;,get_stylesheet_directory_uri()。&#39; /includes/js/bootstrap.min.js');
我可以说它不起作用,因为navabar没有处理移动切换等问题。
希望你能帮助谢谢
答案 0 :(得分:0)
更改引导样式declare
v_calls TABLE_OF_NUMBER;
v_events TABLE_OF_NUMBER;
v_events_tmp TABLE_OF_NUMBER;
cursor cur_calls is
select id
from calls;
begin
open cur_calls;
loop
fetch cur_calls
bulk collect
into v_calls
limit 1000;
exit when v_calls.count = 0;
select id bulk collect
into v_events_tmp
from events
where call_id in (select * from table(v_calls));
v_events := v_events_tmp MULTISET UNION v_events;
end loop;
close cur_calls;
end;
并添加handle
已解决的问题类似于此脚本
ver