[wp-hackers] Wordpress 3.0 - the_content() in pages

Gavin Pearce Gavin.Pearce at 3seven9.com
Mon Jun 21 14:53:26 UTC 2010


I'm sure it's something obvious on my behalf, but do any of you know why
as of Wordpress 3.0, in Page Templates, you can no longer call
"the_content()" without being in the loop, or calling "the_post()"
first?

Strangely, I can still call other functions such as the_title() with no
problem. Seems a strange behaviour, as surely on a single page, there
isn't really anything to "loop" through.

Gav
//gavinpearce.com





More information about the wp-hackers mailing list