Skip to content

A WP plugin that adds first image in post content as featured image if the post has no featured image.

License

Notifications You must be signed in to change notification settings

jnnrdn/jr-add-featured-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

JR Add Featured Image

Checks if the post has a featured image. If not it sets the featured image to the first image block in that post (if any).

Description

This plugin is developed based on the Easy Add Thumbnail plugin by Samuel Aguilera.

I needed it to work with Gutenberg, so did some tweaks for that.

There are probably neater and cleaner way to do this, but this will have to do for now. Maybe I'll look into it more sometime in the future when I have more time.

How to use

  1. Clone this repo to your wp-content/plugins

  2. Activate the plugin.

Done!

About

A WP plugin that adds first image in post content as featured image if the post has no featured image.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages