Default Featured Image Themed

Description

Important Aspects

  • The default featured image will show exactly how your theme shows it. That is if it appears besides the excerpt it will show there. It will not show on top of the excerpt or misaligned, as this plugin only changes the image and does not add any html attributes.
  • This simple plugin sets an image that has been already uploaded in the WordPress Media Library as the default Featured Image for all posts that do not have a featured image already set.
  • This plugin can also remove or unset an image that exists in media library and is set as featured image for one or more posts. This is the remove default featured image feature.
  • Your theme must already support post thumbnails for this plugin to work. This plugin will show the default featured image you set in same style and position as shown by your active theme. Only the image will be changed
  • If you are using a cache plugin, try disabling it and clear browser cache to see results. You can always go to a post and see whether the featured image has been set or unset.
  • Please deactivate any other featured image plugin before using this plugin. Also, if you have modified the code in your theme files to show a default featured image then please delete that code, else plugin will have problems
  • The following steps are recommended but not necessary.These may be required to set the size for the default featured image.
    • To Set a default featured image for a post, check the size of the featured image that your theme is showing. This can be dome by right click on the image->Choose view Image OR copy its link or address and open in new browser. Right click on the image and see its dimensions in image information.
    • If your theme’s functions.php file uses the add_image_size function and the size of the image uploaded to media library to be used as default featured image, is higher than the max size set for thumbnail by any of the _add_image_size_then the selected image to be set as default image will be resized and saved as a new image with size as the maximum size set to be used as thumbnail (not single post) by those functions.
    • It is recommended that the Settings of the small thumbnail in the Settings-Media and the size set by add_image size be kept same
      • After that please resize the image to be set as default featured to the smaller size (to optimize page load time) or resized exactly as the dimensions of smallest size in Settings->Media as set by the add_image_size function
      • Then uploaded the image to the media library and set it as default featured image using this plugin

Suggestions are welcome

  • Found a bug?
  • Something to be improved?

Contact me @kayjoe on WordPress.org or ano[dot]shani[at]gmail[dot]com

Screenshots

  • Getting The Image ID From Media Library

Installation

  1. Unzip the folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the settings->Default Featured Themed option and set the ID of an image in media library, to set the image as default featured image.

FAQ

My chosen featured image doesn’t show, why isn’t it working?

The plugin can’t guarantee that it works. That depends on the themes. Still I want to know why it fails, so Contact me @kayjoe on WordPress.org or ano[dot]shani[at]gmail[dot]com

How Can I change the HTML of the image returned?

You dont need to do this. This plugin only replaces the image, and shows it as your theme does. To make html changes to your theme you have to customize the theme.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Default Featured Image Themed” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

  • `First version.