fix: remove more wordpress css
This commit is contained in:
parent
7209315dcc
commit
dc1c02818c
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@
|
||||||
function smartwp_remove_wp_block_library_css(){
|
function smartwp_remove_wp_block_library_css(){
|
||||||
wp_dequeue_style( 'wp-block-library' );
|
wp_dequeue_style( 'wp-block-library' );
|
||||||
wp_dequeue_style( 'wp-block-library-theme' );
|
wp_dequeue_style( 'wp-block-library-theme' );
|
||||||
|
wp_dequeue_style( 'wp-components-theme' );
|
||||||
|
wp_dequeue_style( 'wp-components' );
|
||||||
|
wp_dequeue_style( 'components' );
|
||||||
|
wp_dequeue_style( 'classic-theme-styles' );
|
||||||
wp_dequeue_style( 'wc-blocks-style' ); // Remove WooCommerce block CSS
|
wp_dequeue_style( 'wc-blocks-style' ); // Remove WooCommerce block CSS
|
||||||
wp_deregister_style( 'dashicons' );
|
wp_deregister_style( 'dashicons' );
|
||||||
add_filter( 'show_admin_bar', '__return_false' );
|
add_filter( 'show_admin_bar', '__return_false' );
|
||||||
|
|
Reference in a new issue