[wp-hackers] Post/Page "Types"?

Ade Walker photofantaisie at gmail.com
Sun Nov 30 19:54:08 GMT 2008


Great! Even simpler in WP 2.7. :-)

2008/11/30 Bernard D. Tremblay (ben) <bentrem at aol.com>

> Peter Westwood wrote:
>
>
>  in the page/post/category templates replace the following calls:
>> get_header() / get_footer()
>>
>> With
>> get_header('page') / get_footer('page')
>>
>> And add header-page.php and footer-page.php to your theme
>>
>> See this for more info:
>>
>> http://phpdoc.ftwr.co.uk/wordpress/WordPress/Template/_wp-includes---general-template.php.html#functionget_header
>>
>> westi
>
>


More information about the wp-hackers mailing list