Normal view

Gutenberg Global Patterns in Widgets?

2 September 2026 at 03:01

Why are global patterns not recognized in widgets?

I register them in functions

 function theme_widgets() { register_sidebar( array( 'name' => 'Global widget', 'id' => 'global-pattern', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); } add_action( 'widgets_init', 'theme_widgets' ); 

When I go to widgets, I can build it there with Gutenberg

https://preview.redd.it/ma5ak297d2nh1.png?width=1099&format=png&auto=webp&s=01430eb72dd9922c9a7a7d34d595bdbe2793fd18

It's empty even though I have a bunch of patterns that I'm using in the theme on pages/posts

submitted by /u/Horror-Student-5990
[link] [comments]
❌