How to remove block patterns from WordPress

One of the innovations that WordPress 5.5 brought us was the block patterns, the tool that will definitely change the whole WordPress ecosystem once theme developers start using them massively instead of layout templates like Elementor or Divi.

That’s right, and you’ll see it soon, at the same time as the death of layout artists who, like Elementor, have not known how to adapt and are already betting on a different business, separate from the WordPress project, but that’s another story.

What I mean is that although the block patterns are a real revolution, you don’t have to have them there in the block inserter if you don’t use them, do you get me?

There are people, perhaps you, who do not use block patterns or plan to use them at the moment, and in this case all they do is annoy the WordPress editor.

Well, if you want to remove the WordPress patterns from the main block inserter, the solution is very simple.

Simply add the following code to the end of the functions.php file of the active theme (better if it’s a child theme, so that the customizations are not deleted when you update the theme):

remove_theme_support( 'core-block-patterns' );Code language: JavaScript (javascript)

Save your changes and the next time you open the editor the WordPress block patterns will no longer be in the block inserter.

Easy and effective, what more do you want?

Read this post in Spanish: Cómo quitar los patrones de bloques de WordPress

How useful was this post?

Click on a smiley to rate it!

Average rating 3.5 / 5. Vote count: 2

No votes so far! Be the first to rate this post.

As you found this post useful...

Follow us on social media!

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top