Need Help NOW With Lifestyle Theme

6 replies
I was trying to change a code on lifestyle theme options so I could change/remove the 468x60 ad block, but I messed something up on the css editor. I get a
Parse error: syntax error, unexpected T_VARIABLE in /home/christia/public_html/wp-content/themes/lifestyle_40/tools/theme-options.php on line 11

And now it won't even let me go back into the theme-options.php
#lifestyle #php #theme
  • Profile picture of the author envisionit2011
    If you have the original file you should be able to use an FTP program like, Filezilla, or FreeFTP to connect to the site/database and reupload it OR log in through you hosting an reupload the orginal, either way will work so at least your site goes back to the way it was before you tried to edit it.
    {{ DiscussionBoard.errors[5323913].message }}
  • Profile picture of the author tomstark
    I actually got to it through cpanel. Here is line 11:

    $defaults = array( // define our defaults
    {{ DiscussionBoard.errors[5323929].message }}
  • Profile picture of the author tomstark
    Woohoo, I got it, and accomplished what I was trying to do! It ended up being line 9 that had a problem, not 11, so I don't know why it said that. Thanks for your help.
    {{ DiscussionBoard.errors[5323978].message }}
  • Profile picture of the author envisionit2011
    Awesome! Glad you got it
    {{ DiscussionBoard.errors[5323999].message }}
  • Profile picture of the author SteveJohnson
    Another example of why it's not a particularly good idea to use the built-in code editor.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[5328803].message }}
  • Profile picture of the author tomstark
    LoL, yeah I'm still pretty much a newbie when it comes to code. I'm just glad I got it solved quickly.
    {{ DiscussionBoard.errors[5329553].message }}

Trending Topics