Support » Fixing WordPress » Code gone wrong

  • Resolved stylemesold

    (@stylemesold)


    Hi,

    I’m not a coder by any means so fingers crossed this issue is fixable. I was trying to find a way to add multiple feature images on a woothemes template and stumbled upon this link.

    https://gist.github.com/austinginder/658140

    I added the code to my functions.php folder & received this message shortly after.

    Parse error: syntax error, unexpected T_STRING in /home/stylemesold/stylemesold.com/wp-content/themes/pixelpress/functions.php on line 79

    I tried to remove the code, but cannot access my css file. I also can’t access the website. Yikes!

    Any help is much appreciated as I seriously don’t know how to proceed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • leejosepho

    (@leejosepho)

    Do you have FTP access to go in and remove what you had added?

    WPyogi

    (@wpyogi)

    Forum Moderator

    Using FTP, deactivate that theme – and WP will automatically switch to the default theme:

    http://codex.wordpress.org/Login_Trouble#Deactivate_Theme

    Then, download a new copy of the theme to your local computer and replace the functions file with a new copy. If you need further assistance with the theme itself, you’ll need to contact WooThemes as commercial themes are not supported here.

    stylemesold

    (@stylemesold)

    I do have access to the FTP. Let me see if I can find the code. Thanks for the reco 🙂

    stylemesold

    (@stylemesold)

    Sounds good. Thanks for the info!

    stylemesold

    (@stylemesold)

    Removed the code via ftp so all is good. Issue resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Code gone wrong’ is closed to new replies.