Support » Fixing WordPress » Accidentally Wiped Out My 26 Page Website

  • Resolved oliver826

    (@oliver826)


    Hello out there!

    I have just completed my first professional website and was getting over confident with coding and now my website is gone. I was trying to remove the page headings from my template in “Theme Functions” in the editor. I removed “Home” from the ‘menu.homeCaption'(see below) and thought I could just put it back if I messed something up.

    <?php

    $artThemeSettings = array(
    ‘menu.showSubmenus’ => true,
    ‘menu.homeCaption’ => “Home”,
    ‘menu.showHome’ => true,
    ‘menu.topItemBegin’ => “<span class=\”l\”></span><span class=\”r\”></span><span class=\”t\”>”,
    ‘menu.topItemEnd’ => “</span>”
    );

    However, I am receiving this message below on the site now and cannot access wp-admin or get back into the site to correct my error. I truly hope I didn’t wipe out my 26-page website that took me two-weeks to create.

    Parse error: syntax error, unexpected ‘/’ in /home/content/42/5389342/html/wp-content/themes/BTTHome012510a/functions.php on line 5

    Any advice on how to get back to it and fix it would be greatly appreciated.

    Oliver

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Accidentally Wiped Out My 26 Page Website’ is closed to new replies.