HTML_Template_IT and wordpress

Posted by David Ryder on Stack Overflow See other posts from Stack Overflow or by David Ryder
Published on 2010-12-24T03:17:01Z Indexed on 2010/12/24 5:54 UTC
Read the original article Hit count: 227

Filed under:
|
|
|

I want to use PEAR's HTML_Template_IT in one of my Wordpress page templates so I can separate the HTML from the PHP. I got it working, except I am not sure about one thing.

Wordpress's built-in function get_header() actually echo's HTML - so I can't technically set it as a template variable. Is this considered acceptable or is there another way to put the contents of get_header() in a variable?

Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about Wordpress