WordPress.org

Support

Support » Themes and Templates » Nested pages won’t pick pagename.php-like template?

Nested pages won’t pick pagename.php-like template?

  • hi,

    if I have two or tree-level nested pages and their pretty url look like “mysite.tld/parentpage/childpage” or “mysite.tld/parentpage/childpage/third” then they don’t seem to pick up the pagename.php-type of template. That is, I have a “childpage.php” and a “third.php” template in my theme’s directory, and they don’t get used – the pagenames (slugs) are unique, they are just not toplevel.

    Have I done something wrong with my install, or it shouldn’t work anyway?
    (sorry, if it’s already been answered elsewhere)

  • The topic ‘Nested pages won’t pick pagename.php-like template?’ is closed to new replies.
Skip to toolbar