Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #785911

    Hello,
    i tryed turning on Custom CSS Class field adding this line to funtions.php file
    add_theme_support(‘avia_template_builder_custom_css’);

    and now i cannot access the website anymore, i get this error:
    Parse error: syntax error, unexpected ”]?)(” ‘ (T_CONSTANT_ENCAPSED_STRING) in /web/htdocs/www.________.it/home/wp-includes/functions.php on line 526

    Even removing the line i added, the site is still unreachable and i don’t know what to do.

    #785916

    I think the problem is i added the code line to the wrong “functions.php” file
    I edited the file inside wp-includes instead of the one in themes/enfold

    Anyway i still have an unreachable site, i hope you can help me

    • This reply was modified 7 years, 8 months ago by Qgrafica_7.
    #785920

    Hi,

    I overwrote wp-includes/functions.php file with a fresh one. Please review your website now and add the code to enfold/functions.php file in Appearance > Editor :)

    Best regards,
    Yigit

    #785926

    Thank you very much, but I still get the same error. Can you access it instead?

    #785929

    Hi,

    I applied the same changes once again and it does load fine now :)

    Best regards,
    Yigit

    #785933

    It’s possible that i had the file functions.php opened while you overwrote it, my bad!
    Thank you very much for the quick support!

    #785942

    Hi,

    You are welcome! :)

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Syntax error turning on custom CSS class’ is closed to new replies.