WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Easy Add Thumbnail

Automatically sets the featured image to the first image uploaded into the post (any post type with thumbnail support). So easy like that...

Can I use this plugin for setting featured image using some image not attached to the post?

No. This plugin uses only standard WordPress functions to set the featured image. And using this standard (and friendly) method WordPress simply has not any knowing about images not attached to the post.

How can I check if a post has "attached" images?

In that post edit screen, click the "Add Media button", then click to "Media Library" tab, and select "Uploaded to this post" in the dropdown, you must see at least one image. If you see the "No items found." message, that means that your images were not uploaded within that post. And therefore, the plugin can't use any image to set as feature image.

If you can see images when selecting "Uploaded to this post" but the plugin is not using it for feature image. You need to try for theme/plugins conflicting. Try using a WordPress default theme (i.e. Twenty Fifteen) and disabling all other plugins.

My theme is showing big images instead of thumbnail sizes, what happens?

As stated above this plugin uses standard WordPress method to set the featured image, this does not include any size information. The size used by your theme for displaying image thumbnails depends totally on how your theme was coded.

Contact to your theme author for support if you're having this problem.

You can find more information about how to properly show thumbnails in your theme on codex reference for the_post_thumbnail (check 'Thumbnail Sizes' section) and set_post_thumbnail_size functions.

How can I exclude pages or other post types ?

If you don't want to use Easy Add Thumbnail for your pages or any other post type, you can exclude them by simply adding a little snippet of code to your theme functions.php file before enabling the plugin. The following example will exclude pages:

add_filter ('eat_exclude_types', 'my_excluded_types', 10, 1);
function my_excluded_types ( $exclude_types ){
    $exclude_types[] = 'page'; 
    return $exclude_types;
}

If you want to exclude a custom post type you need to know the value of 'name' used in register_post_type() function for registering that post type. e.g. If you have a custom post type and its 'name' is 'book' the you'll use:

add_filter ('eat_exclude_types', 'my_excluded_types', 10, 1);
function my_excluded_types ( $exclude_types ){
    $exclude_types[] = 'book'; 
    return $exclude_types;
}

If you want to exclude more than one post type just duplicate the $exclude_types[] line for each one.

This snippet must be added to your site BEFORE enabling Easy Add Thumbnail in your site, if you add it later it will stop assigning the thumbnails for new posts in the excluded types after that moment, previous posts will not be modified.

Is the post thumbnail and featured image the same?

Yes. When I released first version of this plugin years ago, featured images was named as post thumbnails, but later WordPress team decided to change the name to "featured image".

In fact, WordPress core functions for featured image, still uses original thumbnail names.

That's because the plugin name (that can't be changed in the Extend directory without having issues) says "thumbnail".

Will this plugin works in WordPress older than 3.7?

WordPress installs below 3.7 are not supported. But you can use Easy Add Thumbnail 1.0.2 if you use WordPress 2.9 or higher

Requires: 3.7 or higher
Compatible up to: 4.7.3
Last Updated: 3 months ago
Active Installs: 10,000+

Ratings

4.6 out of 5 stars

Support

0 of 1 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,3,3
100,1,1
100,1,1
75,8,6
100,1,1
100,2,2
100,2,2
100,1,1
0,1,0
0,1,0
100,3,3 0,1,0
0,1,0
50,2,1
100,1,1
100,1,1