Color Code Post Statuses in the WordPress Admin

Color Admin Posts is a new plugin that changes the background colors of the post/page listing within the admin based on its current status, ie. Draft, Pending, Published, Future, Private.

The really cool thing about this plugin is that it gives you an easy-to-use color picker so that you can assign your own colors to each status.

Stay organized in your dashboard with the Color Admin Posts plugin, available for free from the WordPress repository.

Comments (8)

  1. Very cool plugin Sara. For those wanting to accomplish this same thing without a plugin, place the following in the functions.php file of your theme and just changes the color values to your liking. :) via: http://wp-snippets.com/

    // Custom post highlighting based on post status //
    function color_code_post_status(){
    ?>

    .status-draft{background: #FFFF99 !important;}
    .status-future{background: #CCFF99 !important;}
    .status-publish{/* no background – keep alternating rows */}
    .status-pending{background: #87C5D6 !important;}
    .status-private{background:#FFCC99;}

    <?php
    }
    add_action('admin_footer','color_code_post_status');

    • That snippet didn’t work as expected for me, but changing it to admin_head and adding tags, it works. Like here:
      /* Custom post highlighting based on post status */
      function color_code_post_status(){
      ?>

      .status-draft{background: #FFFF99 !important;}
      .status-future{background: #CCFF99 !important;}
      .status-publish{/* no background – keep alternating rows */}
      .status-pending{background: #87C5D6 !important;}
      .status-private{background:#FFCC99;}

      <?php
      }
      add_action('admin_head','color_code_post_status');

Participate