This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Page Template Extended


Create templates for a specific page by its ID.
The reason I made this plugin, was to have subpages inherit their parent pages template.
If the subpage doesn’t have a template assigned, the parent pages template will be used if it exists. It goes all the way up the hierarchy.

The plugin works with an infinite number of subpages. If lets say a subpage is 6 levels down.
It will look at the first parent for the template, if it doesn’t exist it will look one level up at the next parent.
So you can assign a template for the first level and fifth level. If you do so, level 1-4 would have the same page template and 5-6 a different page template.

If a template is assigned through the page edit screen, it will overwrite this.


  1. Upload the page-template-extended folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Create a page template in your theme folder (/themes/theme-name/page-"ID".php).


Why isn’t this already built into WP?

I don’t know. Maybe the demand isn’t there.

Contributors & Developers

“Page Template Extended” is open source software. The following people have contributed to this plugin.




Little bug fixing.

2.0 september 2015

Complete rewrite. Now using the right actions etc. No clutter, no options page.