WordPress.org

Ready to get started?Download WordPress

Forums

Child pages following template file of parent page (2 posts)

  1. Jack
    Member
    Posted 3 years ago #

    I have a specific template for a page. This page has a lot of child pages. Do I have to link each and every child page to the same template or is there an easier way?

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Do I have to link each and every child page to the same template

    Yes. Or add some conditional code based upon the page parent to the default page.php template file.

Topic Closed

This topic has been closed to new replies.

About this Topic