Home Forums Community Support Forum Changing a file

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3061
    martinpaulrice
    Participant

    I’m using a child theme I created with Orbisius from the Divi theme. I have to make a change to the functions.php file.

    In order to do this, do I create a new functions.php file in the child theme using the Orbisius editor — a copy of the one in the parent theme — and then make the changes there?

    Thank you for your help.

    Martin

    #3065
    Slavi Marinov
    Keymaster

    Hi,

    Yes, you will need to create a blank file named functions.php.
    Before you do this, though, do make sure the parent theme does support pluggable functions i.e. it checks if the function is already defined. If it is it doesn’t try to define it… otherwise your site WILL crash (because php won’t let you have 2 functions with the same name ) !!

    Slavi

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