Dar color a los formatos de wordpress en el admin

// agrega filtros al dashboard
function posts_status_color() {
	?>
		<style>
		.status-draft { background: #FCE3F2 !important; }
		.status-pending { background: #FCFC85 !important; }
		.status-publish { /* por defecto */ }
		.status-future { background: #C6EBF5 !important; }
		.status-private { background: #E7C7B4; }

		  .format-audio .post-state-format{ background: #C3D9FF; }
		  .format-gallery .post-state-format{ background: #FCFC85 }
		  .format-video .post-state-format{ background: #CDEB8B }
		  .category-yo-reportero{background: #9fcfa3 !important;;}
		  .category-yo-reportero{color: #FFF !important;;}

		  </style>
	<?php
}
add_action('admin_footer','posts_status_color');

You may also like...