Skip to content

mrwweb/mrw-featured-image-focal-point

Repository files navigation

MRW Featured Image Focal Point Picker

Mark Root-Wiley, MRW Web Design

Adds a focal point picker for the Featured Image in the Post sidebar of the Block Editor. Applies object-position inline style with the selected focal point for the Post Featured Image block or templated featured images (i.e. the_post_thumbnail()).

Installation

wp plugin install --activate https://github.com/mrwweb/mrw-featured-image-focal-point/archive/refs/heads/main.zip

History & Credits

Immense props are due to everyone who contributed code on the issue requesting this feature: @cr0ybot, @ryanapsmith, and @koraysels.

This plugin took that work and added the front-end style output, block style output, an improved editor UI (in my opinion), and the ability to work with post types other than post.

About

Adds a focal point picker for the Featured Image and outputs styles in WordPress.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published