[wp-hackers] Block auto formatting of post content?

Stephen Rider wp-hackers at striderweb.com
Tue Aug 19 05:13:26 GMT 2008


On Aug 18, 2008, at 10:12 PM, Viper007Bond wrote:

> Instead of the_content(), just use echo $post->the_content in your  
> theme.

Okay.  This worked. :)

<?php
/*
Template Name: Template Override
*/

// With this you can enter an entire page (from doctype to </html>)  
manually.
// The WordPress template will not be used at all

if ( have_posts() ) :
	while ( have_posts() ) :
		the_post();
		echo $post->post_content;
	endwhile;
endif;

?>


More information about the wp-hackers mailing list