Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #725389


    When we pace a functions.php in the child theme the websites breaks (goes blank).
    Any idea what might be causing this?


    Hey hotspot!

    There might be an error in your code. Can you please post FTP logins and WP admin logins here privately so we can look into it?

    Best regards,


    Hi Yigit,

    We copied the functions.php from the child theme you offer as a download. This ’empty’ file does not break the website. But if we place code in it, it does.

    We copied this code in it and the website breaks:

    * Add your own functions here. You can also copy some of the theme functions into this file. 
    * WordPress will use those functions instead of the original functions then.
    //set builder mode to debug
    add_action('avia_builder_mode', "builder_set_debug");
    function builder_set_debug()
    	return "debug";


    That was because you had the same code in functions.php file of your parent theme as well. I removed from parent theme and added to child theme.
    By the way, you have installed Enfold parent theme twice. One is the older version. Please delete it.


Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.