twentytwentythree icon indicating copy to clipboard operation
twentytwentythree copied to clipboard

Consider removing featured image from single post template

Open justintadlock opened this issue 3 years ago • 1 comments

When a theme uses the featured image in its single post template, it runs the risk of creating the "duplicate featured image problem." This happens when a user also adds the image to the post content itself as shown in the following screenshot:

tt3-duplicate-featured

For Twenty Twenty-Three, the image is just sitting above the post itself. It's not doing anything special, such as serving as a header background. Plus, there are not many options for customizing the Post Featured Image block via theme.json (and no options at all to style this based on context: archive vs. single). Having no featured image on single post templates also better matches the post editor to what the user sees on the front end.

An alternative approach might be to add a "No Featured Image" template (though, I'd prefer to flip that around to have a selectable "Featured Image" template and no featured image to be the default).

justintadlock avatar Aug 23 '22 17:08 justintadlock

Thanks for this! These are really good points.

An alternative approach might be to add a "No Featured Image" template (though, I'd prefer to flip that around to have a selectable "Featured Image" template and no featured image to be the default).

I like this idea - having the default template with no featured image, and adding an optional template that includes the featured image 👍

mikachan avatar Aug 24 '22 10:08 mikachan

I change my mind of this monthly, if not weekly. Offering an opinionated single post without feature image as default, and offer a template with feature image is a great way to solve this dilemma. Great idea!

bph avatar Sep 07 '22 19:09 bph