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

Stephen Rider wp-hackers at striderweb.com
Tue Aug 19 04:42:31 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.
>
> On Mon, Aug 18, 2008 at 8:02 PM, Stephen Rider <wp-hackers at striderweb.com 
> >wrote:
>
>> 1) Is there a way to prevent _any_ auto formatting for a particular  
>> post?
>> I want to allow content to be shown without any added <p>, <br>,  
>> etc...
>> Display it _exactly_ as it was entered.

So... What am I missing here?

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

if ( have_posts() ) :
	while ( have_posts() ) :
		//the_content();
		echo $post->the_content;
	endwhile;
endif;
?>


More information about the wp-hackers mailing list