Viewing 4 replies - 1 through 4 (of 4 total)
  • At the time I checked your site looks just fine, and also the login link .
    Please mark this as closed .

    I have a problem. I tried to add: add_filter(‘widget_text’, ‘do_shortcode’); to make a form work as a widget in the right column.

    The instructions were: To allow shortcodes in sidebar widgets, simply edit the functions.php file from your them and add the following code:add_filter(‘widget_text’, ‘do_shortcode’);

    I could not find exactly where put this add_filter code so I began experimenting. I figured the worst I could do is to step backwards or get out without changing anything. Bad move. My site is down.

    The error I get is:
    Parse error: syntax error, unexpected ‘(‘, expecting ‘&’ or T_VARIABLE in /home/content/03/8353203/html/fyifixit/wp-content/themes/sliding-door.bak/functions.php on line 457

    My site is https://fyifixit.com

    Now I have to fix it.

    I can go back to my FTP file manager and delete the theme. Then reinstall the theme on WordPress admin panel. I have over 300 pages, hundred of pics and art, and lots of other stuff. Naturally I could never be able to recreate everything so what I do not want to do is compound my problem by losing my pages +.

    I was able to get back into my website by renaming the theme to sliding-door.bak (it was sliding-door). I simply cannot get back to the functions php file And go to one of my other websites to bring back the correct php code.

    So the short question is : Can I just remove the corrupt theme back at my FTP file manager? Will that solve my problem?

    I may try that on one of my brand new websites to see if it works.

    Any suggestions would be useful.

    mikep

    @mikep6321 – please post your own thread. You do not have the same problem as the original poster, even if your symptoms appear similar.

    I realized that Jess, after I had posted. I guess my first post is never what we dreamed it would be!

    I did post my own thread if you checked and problem was solved by someone who actually cared about the problem, but I appreciate the correction…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘my site is down’ is closed to new replies.