Lego2012
9/26/2016 - 10:12 PM

DWB Turn the custom Buttons

DWB Turn the custom Buttons

<?php
// Do NOT include the opening php tag

// Visually highlight them to signalize "there´s code in there"). Goes to Dynamik Custom - Functions
//* Turn Custom Code buttons in Design area colored when code in use
add_action('admin_head', 'admin_css');
function admin_css() {
  echo '<style> .wp-core-ui .button.custom-hilight { background: #EDFFAF; box-shadow: none; } </style>';
}