Post Status Background Color

Post Status Background Color

photo found on Unsplash

For people who write lots of Posts and also actively make use of the Post Status feature that comes with WordPress, the following little snippet might come in handy.


 * Snippet to use different background colors for different Post statuses
 * Different colors will show on main All Posts page (../wp-admin/edit.php)
 * inspired by //

// set different colors for pages/posts in different statuses
add_action( 'admin_footer', 'wptips_posts_status_color' );

function wptips_posts_status_color() {

The result can look something like this.

Post Status Background Color screenshot

Of course you can change the colors to your liking.