Created
May 9, 2017 11:20
-
-
Save proweb/1f31bebe01f08e52917372a00ade219e to your computer and use it in GitHub Desktop.
Add colors to admin posts status
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment