WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Accidentally Wiped Out My 26 Page Website (7 posts)

  1. oliver826
    Member
    Posted 4 years ago #

    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

  2. LisaH371
    Member
    Posted 4 years ago #

    Can you get to the database backend?

  3. oliver826
    Member
    Posted 4 years ago #

    Yes. I'm hosting with Go-Daddy.

  4. oliver826
    Member
    Posted 4 years ago #

    LisaH371, I should be able to retrieve it from there? Thanks for your help and response.

  5. Can you FTP to your templates folder on your server and edit the file there?

    (the previous question was more - if your DB is still there, don't worry, your posts are fine ;) )

  6. oliver826
    Member
    Posted 4 years ago #

    I'm not sure. I'll go check it out. Thank you for letting me know they are fine. I am a bit stressed right now.

  7. oliver826
    Member
    Posted 4 years ago #

    This is resolved. I made it a lot harder than it was. You just follow the path that the error message gives you. Go find it in your server folders and correct it. Thanks everyone for your guidance.

Topic Closed

This topic has been closed to new replies.

About this Topic