Last active
August 29, 2015 14:13
-
-
Save SiGaCode/0e2dfcba4b9fa0ff5c94 to your computer and use it in GitHub Desktop.
Turn the "Custom Code" buttoms in Dynamik Design area light green when in use (visually highlight them to signalize "there´s code in there"). Goes to Dynamik Custom - Functions.
Credits: Junior Atoms / Larry: http://cobaltapps.com/forum/forum/main-category/feedback-suggestions/47450-more-dwb-in-2015
This file contains 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
//* 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>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment