[wp-hackers] Theme structure

Keith Solomon ksolomon at gmail.com
Thu Jun 12 11:39:32 GMT 2008


Alan Baljeu wrote:
> But it would be much harder to test whether the edited template is any good.  I think it would require users to setup PHP and Apache on the local machine.
Not necessarily.  For testing purposes, you could replace the WP 
template tags with static content and save it to a temp html file that's 
opened in a browser.  Some things would be easier than others with this 
method (a paragraph or two of lorem ipsum for <?php the_content() ?> for 
example), but most things should be easily doable.

It might not be the best way to do it, but you'd at least get an idea of 
what your theme is going to look like with content, but without the 
weight of setting up a web LAMP/WAMP/etc stack.

-- 
Keith Solomon - ksolomon at gmail.com
My Blog - http://reciprocity.be/
My Flickr - http://www.flickr.com/photos/zarath0s/



More information about the wp-hackers mailing list