Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1063363

    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;

    Best regards,

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.