- This topic has 1 reply, 2 voices, and was last updated 8 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Select Page
Home › Forums › Community Support Forum › Changing a file
Tagged: functions.php
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
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