Tagged: Reset All Options
Hi all — The RESET ALL OPTIONS in the Enfold Customization > General Styling page is a dangerous thing to be leaving around for a client to play with. My clients anyway. Any way I can hide it from them? Have searched functions etc
Big Fan of Kriesi themes.
Kate
Hey kate,
When you click on reset all it does show an alert message that all options will be reset.
However if you like to disable the reset all button please try adding this at the very end of your themes / child themes functions.php file:
/* Hide reset all */
function admin_head_mod() {
echo '<style type="text/css">.avia_footer_reset{ pointer-events: none!important;}</style>';}
add_action('admin_head', 'admin_head_mod');
Best regards,
Vinay
thanks Vinay. I’ve had two clients breeze right past that warning dialog (i know i know). Go figure.