Kirki deprecated fix

This commit is contained in:
Alexander Agnarson 2025-04-09 20:20:30 +02:00
parent c13aa48031
commit c4d12061a3

View file

@ -780,4 +780,17 @@ function blogside_skip_link_focus_fix() {
</script> </script>
<?php <?php
} }
add_action( 'wp_print_footer_scripts', 'blogside_skip_link_focus_fix' ); add_action( 'wp_print_footer_scripts', 'blogside_skip_link_focus_fix' );
/* Kirki deprecated fix
/* ------------------------------------ */
function blogside_kirki_config( $config ) {
if ( isset( $config['compiler'] ) ) {
unset( $config['compiler'] );
}
return $config;
}
add_filter( 'kirki/config', 'blogside_kirki_config', 999 );