[wp-trac] [WordPress Trac] #53412: Consider allowing themes to include block directory block references

WordPress Trac noreply at wordpress.org
Tue Jun 15 15:33:12 UTC 2021


#53412: Consider allowing themes to include block directory block references
-----------------------------+-----------------------------
 Reporter:  helen            |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Themes           |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Important note: this is not a plugin dependencies ticket!! But maybe a
 little bit.

 Imagine that you've found a perfect-looking single page theme for your
 establishment and the screenshot or demo shows a map in a really
 convenient spot, but then you go to edit that page or template and you
 have no idea where exactly that map should go. Everything else looks just
 right thanks to patterns and other core blocks, but that pesky map needs a
 block from the block directory. How could core help users discover blocks
 that are recommended/especially styled by a given theme?

 In my imagination, this is something like showing a placeholder prompting
 the editor to install/activate the block and why they would want to do
 that (or delete the block if they don't need it). But that's just one
 person's imagination - this would definitely benefit from exploration and
 positing other relevant scenarios (even/especially ones that would
 disprove this as a helpful feature).

 I believe this could apply to both FSE/block-based themes within template
 areas as well as all themes with starter content, though it may make sense
 to narrow the initial support. Also, we may/probably want to support theme
 demos on .org showing blocks from the block directory to go along with
 this, if we go this route.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53412>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list