Change admin post/page color by status – draft, pending, published, future, private

Go to source ( example screenshot )

snippet :  PHPcopy
add_action('admin_footer','posts_status_color');
function posts_status_color(){
?>
<style>
.status-draft{background: #FCE3F2 !important;}
.status-pending{background: #87C5D6 !important;}
.status-publish{/* no background keep wp alternating colors */}
.status-future{background: #C6EBF5 !important;}
.status-private{background:#F2D46F;}
</style>
<?php
}


Change admin post/page color by status – draft, pending, published, future, private is a post from: wpsnipp.comWordPress Snippets, Code, Hacks, 590+ for your theme, blog
which is not allowed to be copied on other sites.”

Share this post.


Change admin post/page color by status – draft, pending, published, future, private“>Facebook | Change admin post/page color by status – draft, pending, published, future, private“>StumbleUpon | Change admin post/page color by status – draft, pending, published, future, private“>Delicious | Change admin post/page color by status – draft, pending, published, future, private @wpsnipp”>Tweet It | Change admin post/page color by status – draft, pending, published, future, private“>Digg This

© wpsnipp.com All Rights reserved.

source: wpsnipp.com