Adds a column to the edit screen with the featured image if it exists.
This plugin has no options. It simply adds a column before the title (far left) the show's the posts featured image if it's supported and/or exists.
Add a defualt image simply by filtering you own image in. Use featured_image_column_default_image or filter your own CSS by using featured_image_column_css.
Add support for a custom default image
function my_custom_featured_image_column_image( $image ) {
if ( !has_post_thumbnail() )
return trailingslashit( get_stylesheet_directory_uri() ) . 'images/featured-image.png';
}
add_filter( 'featured_image_column_default_image', 'my_custom_featured_image_column_image' );
Add your own CSS to change the size of the image.
/**
* @use '.featured-image.column-featured-image img {}'
*/
function my_custom_featured_image_css() {
return trailingslashit( get_stylesheet_directory_uri() ) . 'css/featured-image.css'; //URL to your css
}
add_filter( 'featured_image_column_css', 'my_custom_featured_image_css' );
For question please visit my blog @ http://austinpassy.com
Requires: 3.0 or higher
Compatible up to: 3.4-alpha
Last Updated: 2012-1-20
Downloads: 4,346
Got something to say? Need help?