- This topic has 3 replies, 3 voices, and was last updated 7 years, 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Select Page
Home › Forums › Community Support Forum › WordPress Plugins › Orbisius Child Theme Creator › Blank functions.php
Hi,
I’ve just installed this cool plugin. To create a child theme I have the option of creating a blank functions.php file.
Whats the need for a blank one? Does that mean it doesn’t copy the existing functions.php from the parent theme?
Please explain.
Thank you
Can anyone help with this?
The functions file is not copied to a child functions.php file like the css file.
functions.php files work different than the css file.
Any entry you make in the child functions.php file does not override the parent file
like the css file.
It’s just a place to make additions to the functions.php file without completely breaking
the main functions.php file and your site.
Hi,
We must have missed this thread.
In the past we had the functionality for copying the functions.php file. It’s hidden for now.
We turned it off because most of the themes don’t use pluggable functions e.g. functions that can be defined in the child themes. With php (the language that WordPress uses) you can’t have a function with the same name (with some exceptions related to Namespaces and static class methods) this caused the site to definitely and surely to crash.
If you’re feeling adventurous and don’t might restoring your site or at least connecting via FTP and deleting the functions.php from the child theme append this to the page that allows you to create child themes that is Appearance > Orbisius Child Theme Creator.
&orb_show_copy_functions
Slavi