Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

Featured Image Block: Add option to use first image of post #79389

Open cuemarie opened 1 year ago

cuemarie commented 1 year ago

What

Add the option to use the first image of a post, if no featured image is set for that post.

Why

This is particularly useful for people replacing classic themes with block themes. Many old posts don't have featured images, and it's a lot of work to go back to them and add them all. This allows theme builders to use the post featured image block in a query block and have more confidence that an image will show.

Example context: 6534964-zd-woothemes

How

https://github.com/WordPress/gutenberg/pull/51603

github-actions[bot] commented 1 year ago

Support References

This comment is automatically generated. Please do not edit it.

cuemarie commented 1 year ago

The user from the original linked interaction would love to know if we ever roll out this feature

essleeung commented 12 months ago

7221974-zd-a8c

annezazu commented 1 month ago

This is the best issue to follow for this feature request in Gutenberg: https://github.com/WordPress/gutenberg/issues/34865