If you don’t use the new WordPress blocks, you should avoid to load the block style CSS on your page to optimize the page load speed. Here the three lines you need:

add_action('wp_print_styles', function () {
}, 100);

Adding the action with priority 100, it will be executed after the style has been enqueued by WordPress.

You can add this code in your functions.php theme file.

My excuses for my bad english but it's the only way I have to communicate with you. Would you suggest a correction? Leave a comment, thank you!
Categories: WordPress


Leave a Reply