Home / Admin / Cores especificas para cada status do posts/pages
Duplicate Snippet

Embed Snippet on Your Site

Cores especificas para cada status do posts/pages

Code Preview
php
<?php
/*-----------------------------------------------
Distinto color segun estado de entrada
-----------------------------------------------*/
function posts_status_color() {
?>
  <style>
  .status-draft { background: #FCE3F2 !important; }
  .status-pending { background: #87C5D6 !important; }
  .status-publish { /* por defecto */ }
  .status-future { background: #C6EBF5 !important; }
  .status-private { background: #F2D46F; }
  </style>
<?php
}
add_action('admin_footer','posts_status_color');

Comments

Add a Comment