Forums

Do nested pages inherit their parents templates? (4 posts)

  1. connorlowe
    Member
    Posted 2 years ago #

    I am creating a theme in which there is a page with Template A, and then two child pages, each with their own Template (how about B and C).

    In the write pages panel, I can set the template of the sub pages to B or C, but when loading those pages, it only loads template A.

    Any thought or insight would be appreciated.

    Thanks!

  2. connorlowe
    Member
    Posted 2 years ago #

    Well, I seem to have fixed the problem. It seemed to be a problem with my permalink structure.

    It was like this:
    /%pagename/%category%/%postname%

    And I changed it to this:
    /%category%/%postname%

    Not sure that I fully understand why that effected the templating... but, hey, whatever works.

  3. jesseisrad
    Member
    Posted 2 years ago #

    I've having the same problem, but my permalink structure is fine, so I'm curious as to a real solution.

  4. jesseisrad
    Member
    Posted 2 years ago #

    Ah I found it, guess it has to do with permalinks and rewrites. My subpages are years, 2009, 2008 and it's conflicting with the /%year%/ rewrite. Hmm that's pretty inconvenient.

Topic Closed

This topic has been closed to new replies.

About this Topic