nbseminary
Member
Posted 2 years ago #
This plugin works very nicely with the K2 theme (http://getk2.com/) with the following hack:
REPLACE every instance of:
$page_template_ex_path = TEMPLATEPATH . '/page-' . $post->ID . '.php';
WITH
$page_template_ex_path = locate_template( array('/page-' . $post->ID . '.php'), true );
Enjoy!
Loren
http://wordpress.org/extend/plugins/page-template-extended/
nbseminary
Member
Posted 2 years ago #
What would be really nice however is if the plugin would evaluate if there is already a template file assigned to a page (via the WP admin) and allow the assigned template to override the page-id.php template. Currently that does not happen.
This looks like a good plugin, but you can use the body_class(), just as well, or even more easily, to style any and all child-pages or categories too. See: http://www.nathanrice.net/blog/wordpress-2-8-and-the-body_class-function/