[wp-hackers] Post/Page "Types"?
Bernard D. Tremblay (ben)
bentrem at aol.com
Sun Nov 30 18:44:16 GMT 2008
Peter Westwood wrote:
> Bernard D. Tremblay (ben) wrote:
>> ... I find no way of doing what you made seem so simple here.
>> To use your words: How do I "load different header.php files
>> depending on the type of page/post/category being displayed?"
>> Simpler: can it be done?
> Requires 2.7 but the following will work.
Brill ... thanks westi!
I just peeked your link (http://tinyurl.com/5phccx) and looks like that
hits the nail on the head.
Now: Can do w/WPMU?
Fact is that this depth of customization was the reason I deployed Moo.
> in the page/post/category templates replace the following calls:
> get_header() / get_footer()
> get_header('page') / get_footer('page')
> And add header-page.php and footer-page.php to your theme
> See this for more info:
More information about the wp-hackers