🙅
【WordPress】Kadence Blocksでタブを複数挿入したときcssを消す
Kadence Blocks共通のCSSの読み込みをなくす
function my_enqueue_scripts() {
wp_dequeue_style( 'kadence-blocks-style-css' );
}
add_action("wp_enqueue_scripts", "my_enqueue_scripts");
タブのinline CSSの読み込みをなくす
function custom_turn_off_tabs_inline_css( $enable, $type, $uniqueid ) {
if ( 'tabs' === $type ) {
$enable = false;
}
return $enable;
}
add_filter( 'kadence_blocks_render_inline_css', 'custom_turn_off_tabs_inline_css', 10, 3 );
Discussion