• I accidentally clicked and added a theme to my webpage instead of clicking the
    preview button. Now I’m not able to sign in to the webpage and can’t reverse the changes.

    This is the error I get:
    Parse error: syntax error, unexpected ‘echo’ (T_ECHO) in /var/www/vhosts/ladiescircle.is/httpdocs/wp-content/themes/evolve/library/functions/basic-functions.php on line 226

    Is there any easy solution for this?

Viewing 1 replies (of 1 total)
  • There are two ways you could revert theme to older one.

    Option 1: With WP -CLI
    If you have ssh access, and use WP CLI, you can just activate required theme using
    wp theme activate twentyseventeen (replace it with your theme name)

    Option 2: With PHPMYAdmin

    1. Open PHPMYADMIN from Cpanel
    2. Browse wp_options table(assuming your prefix is wp_)
    3. Locate the entries with option name template and stylesheet and change them to old theme name

    Screenshot attached
    This should allow you to switch back to old theme.

Viewing 1 replies (of 1 total)
  • The topic ‘Reverse Theme Change?’ is closed to new replies.