My client accidentally hit “Reset all options” under the Theme Update tab. Now the site is back to original and I lost logo, pages, etc. How do I get the site back? Do I need to load a backup of the site??
Hey bemodesign,
If you have a backup of the site, then please deploy it, as there is no function to restore from this mistake.
The only safety precaution we have is the popup warning when it is clicked:
Going forward we have this function that will hide many of these options from your clients,
Try adding this code to the end of your functions.php file in Appearance > Editor:
add_action('admin_head', 'hide_theme_options');
function hide_theme_options() {
echo '<style>
#wpbody-content #avia_options_page .avia_button.avia_button_grey.avia_reset,#wpbody-content #avia_options_page .avia_section_header.goto_update,#wpbody-content #avia_options_page .avia_section_header.goto_upload,#wpbody-content #avia_options_page .avia_section_header.goto_demo {
display: none !important;
}
</style>';
}
Best regards,
Mike