Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1857
    greygable
    Participant

    Was wondering why the functions.php is not included in the child site.

    regards,
    greygable

    #1858
    Slavi Marinov
    Keymaster

    Hi,

    Great question!

    Actually, the previous versions of the plugin allowed copying of the functions.php file.
    Even there was a warning saying that if the parent theme doesn’t support pluggable functions your site WILL crash… some users didn’t believe that warning and thought that it won’t happen to them and checked the box anyways… so this functionality is there but it is currently hidden.

    If you know what you’re doing you can append orb_show_copy_functions parameter to the link in Appearance | Orbisius Child Theme Creator

    The link should look like this:
    site/wp-admin/themes.php?page=orbisius_child_theme_creator_themes_action&orb_show_copy_functions

    Then when the page loads you will see a new option called Advanced and there will be a checkbox to copy functions.php and its warning

    Another approach is to load the parent theme’s functions.php in the right editor and create a blank functions.php in the child theme’s editor (left) and copy only the functions you need to customize.

    Slavi

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