WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Problems with copying parent theme files to child theme (4 posts)

  1. merrysales
    Member
    Posted 3 years ago #

    Hi! So I am making a child theme to Twenty-Ten through yahoo. I copied all of the Twenty-Ten files into the new theme directory I created. Originally I just had the style.css file copied but there were other ones I wanted to edit so I decided to copy all of them. Now it seems that maybe a path is broken or something..? I try to open theme-editor.php and there's no content. I have all of the files from the twenty-ten theme copied...not sure why it's not working.

    Thanks!!

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Remove all files except the style.css file and any template files that you have customised. Do not copy across the whole functions.php file from the parent theme. You have to create a new functions.php file in the child and add only your custom functions.

  3. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    The problem is probably the functions.php file. Try deleting it first.

  4. merrysales
    Member
    Posted 3 years ago #

    Thank you!!! Removing the functions file worked! You guys just saved me hours of agony!!

Topic Closed

This topic has been closed to new replies.

About this Topic