10+
February 25, 2015
November 3, 2013
Development of this plugin is done on GitHub. Pull requests welcome. Please see issues reported there before going to the plugin forum.
force-featured-image
to the /wp-content/plugins/
directoryThis plugin lets you specify which post-type requires to force a featured image to. It will also let you specify minimum dimensions for the image.
Let’s say, for example, you want to force a user to set an image on the default post type with the following dimensions (400px * 400px). Put this code in the function.php of your theme :
function theme_force_featured_image( $options ){
$options['post'] = array(
'width' => 400,
'height' => 400,
);
return $options;
}
add_filter( 'force_featured_image_post_type', 'theme_force_featured_image' );
No FAQ provided.
First Release
No previous versions available.