WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Code gone wrong (6 posts)

  1. stylemesold
    Member
    Posted 1 year ago #

    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.

  2. leejosepho
    Member
    Posted 1 year ago #

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

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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.

  4. stylemesold
    Member
    Posted 1 year ago #

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

  5. stylemesold
    Member
    Posted 1 year ago #

    Sounds good. Thanks for the info!

  6. stylemesold
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.