• Resolved magnus1

    (@magnus1)


    Hi,

    I added a line of code at the bottom of my functions.php but then deleted it, but now I get this error: “Parse error: syntax error, unexpected T_STRING in /home1/magnus1/public_html/marketingwithmichelle.com/wp-content/themes/your-theme/functions.php on line 163”.

    Here is the code:

    [Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]

    Any help would be much appreciated! 🙂

    Cheers,
    Michelle

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    – Your current theme named “your-theme”seems to be causing the issue.

    – Try switching to the unedited default Twenty Fifteen theme. Since you don’t have access to your admin area, use FTP , or your web-host’s cPanel or whatever file management application your host provides. Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name. Alternately, you can remove other themes except the default theme. That will force your site to use it.

    Thread Starter magnus1

    (@magnus1)

    Hmmm… “your-theme” is my theme. It’s part of Genesis and has a ton of custom coding. Can I not get this to work again? 🙁

    Thread Starter magnus1

    (@magnus1)

    Ahhh… I fixed it! Thank you anyway! 🙂

    Moderator t-p

    (@t-p)

    Glad to know it 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Parse Error’ is closed to new replies.