WordPress Snippets at WPcustoms

Visually seperate post status with background colors in admin panel

Css classes are added to the admin header and pick up the different classes for the posts’ status. By changing their background color according to their status you can easily check pending, future, draft posts.


/**
 * Snippet Name: Visually seperate post status with background colors in admin panel
 * Snippet URL: https://wpcustoms.net/snippets/visually-seperate-post-status-background-colors-admin-panel/
 */
  function wpc_posts_status_color(){

echo '';
}
add_action('admin_footer','wpc_posts_status_color');