New Landing How can we help? Themeforest Theme Support Neighborhood Migrating a modified Parent theme to a Child theme

Viewing 5 posts - 1 through 5 (of 5 total)
  • #177241
    harukagnd
    Member
    Post count: 26

    Hi there,

    I have been modifying the Neighborhood quite heavily and in hindsight realise that I should have started modifying the theme with a Child theme instead. Do you know how I can migrate a heavily modified Parent theme to a Child theme of Neighborhood?

    I’m not sure how to go about this. Any help would be greatly appreciated.

    Best regards,

    james

    #177255
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Unfortunately there’s no easy way to do it, you will just have to remember the changes you made and make them to the child theme instead

    – Kyle

    #177256
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Unfortunately it doesn’t exist any easy workaround, That’s that in any massive theme parent change.

    You to check all the changes you made, if you changed functions that use prior to the function declaration the function_exists method (function_exists('function_name')) { you can copy those functions and paste them inside the functions.php of the child theme.

    Other files like the ones in the root directory you just have to move them to child theme directory.

    Other files that are deeper in the directory structure and are included in other files, you should also copy the file that call’s the second one so it can call the one in the child theme and not the parent one.

    -Rui

    #177263
    harukagnd
    Member
    Post count: 26

    Thanks for the advice.

    Will Neighborhood’s Import/Export functionality help at all for the migration?

    #177267
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No, that’s only for the theme options those are stored in the database and are active with or without the child theme.

    -Rui

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register