Default Featured Image
by Jan-Willem 4.8 (68 reviews)

Default Featured Image

Add a Default Featured Image for all posts & pages.

Default Featured Image ranks #669 among WordPress.org plugins with 60,000+ active installations, is #70 of 6,303 in the Media category, a 4.8/5 rating from 68 reviews, and was last updated Jun 17, 2026. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 7 (Current: 7.1)
v1.8.2 Current Version v1.8.2
Updated 2 months ago Last Update on 17 Jun, 2026
Refreshed 9 hours ago Last Refreshed on
#70 of 6,303 in Media Top 1% by installs Downloads -32.5% this week
View on WordPress.org
Rank
#669
No change
Active Installs
60K+
-6.7%
KW Avg Position
46.5
0.5 worse
Downloads
540.4K
+25 today
Support Resolved
0%
No change
Rating
96%
Review 4.8 out of 5
4.8 (68 reviews)

Next Milestone 70K

Total Progress 30.7%
60K+ 70K+
52
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 6,934 more installs to reach 70K+

Rank Changes

628 646 665 684 702 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
628 646 665 684 702 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
Current #669
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 50 100 150 200 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
0 50 100 150 200 250 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.8
68 reviews
Overall 96%
5
63 (93%)
4
2 (3%)
3
1 (1%)
2
1 (1%)
1
1 (1%)

Support Threads Overview

Resolved
Unresolved
1
Total Threads
0
Resolved
1
Unresolved
0%
Resolution Rate

Security History

Source: WPVulnerability

No known vulnerabilities on record for Default Featured Image. Checked 1 week ago.

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners who want every post and page to display a featured image. It solves the problem of posts or pages lacking a featured image by letting you set a default one on the media settings page.

  • Sets default featured image
  • Applies to posts and pages
  • Configurable on media settings page
  • Fallback when no image set

Frequently Asked Questions

Common questions about Default Featured Image

This plugin works out of the box for most cases, but not always. If it doesn't work you can try the following things. Switch themes. Most of the time the theme does something weird.
Might it be hidden via css? DFI images have an extra default-featured-img class added to them. Still having problems? I want to know if it fails, so contact me
There are no new functions, all core WordPress functions can be used. the_post_thumbnail / get_the_post_thumbnail Display the image. the_post_thumbnail_url / get_the_post_thumbnail_url Get the url. has_post_thumbnail If a DFI is set it will always return true. get_post_thumbnail_id will return the ID set on the post or the DFI.
Yes, the following code will set a different image. add_filter( 'dfi_thumbnail_id', 'dfi_posttype_book', 10, 2 ); function dfi_posttype_book( $dfi_id, $post_id ) { $post = get_post( $post_id ); if ( 'book' === $post->post_type ) { return 31; // the image id for the book post type. } return $dfi_id; // the original featured image id. }
Yes, the following snippet will set different images based on the category. add_filter( 'dfi_thumbnail_id', 'dfi_category', 10, 2 ); function dfi_category( $dfi_id, $post_id ) { // Set a different image for posts that have the 'cats' category set. // This will trigger first, if multiple categories have been set. if ( has_category( 'cats', $post_id ) ) { return 7; // cats img id. } // Set a different image for posts that have the 'cats' category set. if ( has_category( 'dogs', $post_id ) ) { return 8; // dogs img id. } return $dfi_id; // the original featured image id. }
This can be used for styling. If you need more you can change the whole HTML with the filter dfi_thumbnail_html. add_filter( 'dfi_thumbnail_html', 'dfi_add_class', 10, 5 ); function dfi_add_class( $html, $post_id, $default_thumbnail_id, $size, $attr ) { // Add a class to the existing class list. $attr['class'] .= ' my-class'; return wp_get_attachment_image( $default_thumbnail_id, $size, false, $attr ); }
The following code will exclude the post/page with ID 23. add_filter( 'dfi_thumbnail_id', 'dfi_skip_page', 10, 2 ); function dfi_skip_page( $dfi_id, $post_id ) { if ( $post_id == 23 ) { return 0; // invalid id. } return $dfi_id; // the original featured image id. }

More plugins by Jan-Willem

Sign In / Register

You need to sign in or register to use this feature.