• Resolved manuelaboghian

    (@manuelaboghian)


    Hi there,

    I tried to hide the tags on my new blog using the code below which I found it from this wordpress topic:

    .entry-tags {
    display: none;
    }

    I’ve copied it in the theme editor, customizer.php file, but when saving I got the following error:

    Parse error: syntax error, unexpected ‘.’ in /home/lab/webapps/manuelaboghian/wp-content/themes/syntax/inc/customizer.php on line 27

    I then delete the code I pasted, but the error was still there, and now my blog doesn’t work anymore and keeps showing the same error.

    I’m using the “Syntax” theme.

    Please advise.

    Thanks,

    Manuela

Viewing 2 replies - 1 through 2 (of 2 total)
  • The code you were given is CSS, not PHP. If your theme has a built-in custom CSS option, place it there; otherwise, get a custom CSS plugin and place the given code there instead.

    To get your blog back, one thing you could do would be to redownload the ZIP file of your theme, get the appropriate file, and reupload it to your server using FTP or whatever file management program your hosting provider uses.

    Thread Starter manuelaboghian

    (@manuelaboghian)

    Thank you, my blog works again!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error when customizing theme’ is closed to new replies.