Search
 
SCRIPT & CODE EXAMPLE
 

PHP

remove gutenberg styles

// Don't load Gutenberg-related stylesheets.
add_action( 'wp_enqueue_scripts', 'remove_block_css', 100 );
function remove_block_css() {
wp_dequeue_style( 'wp-block-library' ); // WordPress core
wp_dequeue_style( 'wp-block-library-theme' ); // WordPress core
wp_dequeue_style( 'wc-block-style' ); // WooCommerce
wp_dequeue_style( 'storefront-gutenberg-blocks' ); // Storefront theme
}
Comment

PREVIOUS NEXT
Code Example
Php :: delete property from object php 
Php :: Find out how many years there are in php between years 
Php :: wordpress print post data 
Php :: call table name in model laravel 
Php :: new line in php 
Php :: how if charactor is exist in text in laravel 
Php :: php add days to date 
Php :: phpmailer with laravel 
Php :: php compare strings case insensitive 
Php :: get duplicate value from array php 
Php :: php format datetime 
Php :: twig dd 
Php :: string date less than now php 
Php :: include a website in php file 
Php :: 419 page expired in laravel 
Php :: laravel upload image to public folder 
Php :: how make exception laravel if operation does not work 
Php :: display rows brought back by query php 
Php :: php median 
Php :: qual é a melhor linguagem de programação para iniciantes 
Php :: php counting number of chars excluding newlines 
Php :: php string starts with 
Php :: phpspreadsheet password protected 
Php :: how to add cutom menu option in wordpress 
Php :: select session php 
Php :: websocket 2006 MySQL server has gone away 
Php :: php str_replace multiple 
Php :: php return loading message 
Php :: wordpress loop 
Php :: laravel not in query 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =