• I have started to create a child theme to twenty ten.

    So far, I have three files one style.css, customPage.php and loop-page.php in children theme.

    style.css works fine, but the customPage.php that calls the loop-page.php is not working. It chooses the Twenty Ten’s loop-page.php.

    The page have the customPage as a template.

    Are there any more parameter that must be set somewhere. Have I got this wrong? that the file that is located in child theme is overriding the one situated twenty ten folder.

Viewing 2 replies - 16 through 17 (of 17 total)
  • Sorry to hijack this tread a bit but i got a similar issue with creating a child theme.

    I am testing locally and i want a landingspage without the comment block. So i put loop-page.php in my child theme and comment out the comment block. But now all my pages have the comment block commented out. And i only have the landing page with the landing pagetemplate selected all other pages have the default template page selected.

    So the next thing i did was renaming the loop-page.php to loop-landing-page.php and edit the landing-page.php in child theme to
    get_template_part( 'loop-landing', 'page' );

    I like to know if this is the right way to use child theme

    DDT – please start a new thread for your issue.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘children theme overriding files’ is closed to new replies.