Home Forums Community Support Forum Changing a file

New Reply

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Slavi Marinov 1 year, 7 months ago.

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

    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

    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


    ? If you have an idea for a plugin or suggestion email it to help at orbisius.com | Why Donate or Become Premium Member

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.