WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Featured Image Column

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/remove support for post types

function my_custom_featured_image_column_post_type( $post_types ) {
    foreach( $post_types as $key => $post_type ) {
        if ( 'post-type' === $post_type ) // Post type you'd like removed. Ex: 'post' or 'page'
            unset( $post_types[$key] );
    }
    return $post_types;
}
add_filter( 'featured_image_column_post_types',   'my_custom_featured_image_column_post_type', 13 );

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.8.3
Last Updated: 2013-12-3
Downloads: 9,216

Ratings

4 stars
4.9 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

0,1,0 0,2,0
0,1,0
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1