• I tried to edit my Two-Column Widget code in the MaxMag theme. Now i get the following error:

    Parse error: syntax error, unexpected T_ENDWHILE in /home/dparadis/public_html/wp-content/themes/maxmag/widgets/widget-recent.php on line 64

    I’m pretty sure the problem lies in this area of the code:

    <?php endwhile; ?>

    <?php

    /* After widget (defined by themes). */
    echo $after_widget;
    }

    /**

    Can someone PLEASE HELP — MY SITE IS NOW DOWN!

Viewing 1 replies (of 1 total)
  • Moderator cubecolour

    (@numeeja)

    Use an FTP app such as filezilla to connect to your site files and restore the theme file you edited from your last good backup. If you don’t have a backup, download a fresh copy of your theme to obtain the file.

Viewing 1 replies (of 1 total)

The topic ‘Failed attempt to edit html code’ is closed to new replies.