Forums

Parse error: syntax error ... can't log back into site (4 posts)

  1. dglogau
    Member
    Posted 4 months ago #

    I'm new to wordpress and I was setting up my blog and wanted to add post formats to my theme. I was in the functions.php edit window under my theme edit area.

    I added Theme Support and that worked fine with this code..

    add_theme_support( 'post-formats', array( 'aside', 'gallery' ) );

    That worked fine. Then I clearly messed up and forgot to add something because I then saw the Using Formats and tried to add the code that hides titles...

    .format-status .post-title {
    display:none;
    }

    After this my website froze and locked me out and now I just get the message..

    Parse error: syntax error, unexpected '.', expecting ')' in /home/content/33/8823233/html/wp-content/themes/candid/functions.php on line 33

    Please help!

  2. zoonini
    help me help you
    Posted 4 months ago #

    Restore your original copy of functions.php and then start over.

  3. Lighterdayz@yahoo.com
    Member
    Posted 4 months ago #

    I have a similar problem. I restored the backup copy of the site from godaddy. Nothing happened any different. I don't know how to restore just the functions.php. Would I do that on godaddy? How do I find that file. Can you tell I'm really in the dark?
    Thank you for any help!

  4. zoonini
    help me help you
    Posted 3 months ago #

    Lighterdayz - please start a new thread for your issue, thanks.

Reply

You must log in to post.

About this Topic