Tagged: function.php
Hi,
I’ve just updated enfold and i was (re)making some changhes in the function.php, since i’m not using a child theme. I add the code that i need (just copied from a previous backup of the function.php) but now the website doesn’t work.
Can you please help me?
That’s the error:
Parse error: syntax error, unexpected ‘require_once’ (T_REQUIRE_ONCE)
Hey viaggiareverde,
You will need to remove the custom code and reload the functions.php file via FTP or cPanel to return the site back to a functional state.
Best regards,
Jordan Shannon
Thank you Jordan,
I did it and i restored my website.
After some tries, I’ve re-add the code I need except for:
add_theme_support(‘avia_template_builder_custom_css’)
I think this was the problem!
Regards
Hi,
I’m glad you restored the site. Did you need further help on this topic?
Best regards,
Jordan Shannon
No that’s all, you can close it.
Thanks again and have a nice day!