• The best import export plugin
  • Supports very large files
  • Simple interface & flexible API
  • Import, Export, Migrate, Bulk Edit

Smart Featured Image

by GrottoPress.com

0 Ratings

Active Installations

10+

Last Update

7 years

Quality

D

Plugin Description

Description
IMPORTANT: This plugin requires PHP version 5.3 or newer. We recommend PHP version 7.0 or newer.
Smart Featured Image is a WordPress plugin to automagically add featured images to posts using images inserted into post content, if no featured image is added to a post.
WordPress, by default, requires you to explicitly set a featured image for each post even if there are images already used in the post.
The Smart Featured Image plugin frees you from the extra step of setting a featured image by saving the first local image it finds in the post content as featured image.
The plugin displays a configurable default image if no image is found in post content.
The default image settings are available via the Media Settings screen (‘Settings‘ -> ‘Media‘) in the WordPress administration area. There are options to set the default featured image for each public post type.
Smart Featured Image works by:
Checking if a featured image was added to the post.
If no featured image was added, the plugin looks for images attached to the post (ie images uploaded to the current post). If found, the first attached image is saved as the post’s featured image.
If no image was attached to the post, the plugin looks for an image inserted into the post content, but not necessary attached to the post. If found, the first local image inserted is saved as featured image.
If all of the above fail, the plugin falls back to the default featured image set for the post type in question under the Default Featured Image section of the Media Settings screen.
You would notice that, in step 4 above, the plugin does not save the default featured image as the featured image. Rather, it simply returns that image whenever a call to get the post thumbnail is made. This is the intended behaviour.
This means, any time the default featured image changes, all posts that used the previous default featured image would automatically use the new default featured image since the old one was never saved to the database as featured image.
You can disable smart featured image for any specific post by setting a
no_sfi
custom field to any value other than
0
. Delete the custom field, or set to
0
, to restore plugin functionality for that post.
Give Smart Featured Image a shot. You will love it.

Similar Plugins

  • Report Bug
The content on this website originates from various sources. All rights to the original content remain with the respective author. If you believe that your copyrights have been infringed by the use of content on this website, please contact us at info@plugin-guru.com. We will remove the content in question immediately.

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

My Collections

Create your first Collection

To create a collection, simply click on the symbol on the desired plugin.

You can see this symbol when you move the mouse over the plugin. 

Current Level

Plugin Magican

You have reached 0 views on your collections and are currently Plugin Magican. You magically help people find the right plugins and are a great asset to the community

0 of 500 views reached