wp_get_recent_posts VS the_content (blockquote troubes)
-
Hi. I use wp_get_recent_posts on my static page to show last 3 post. And i find (bug?).
My code:
$lastPosts = wp_get_recent_posts( Array('numberposts'=>$num,'orderby' => 'post_date'), $output );
and
$lastPost[0]->post_content
then i look an my source html and see
<blockquote>...
then i look at my blog page (it use the_content) source (the same post) and see
<blockquote><p>...
Btw. I turn off all plugins before test it.
My question is: where is my P tag in $lastPost[0]->post_content ???
- The topic ‘wp_get_recent_posts VS the_content (blockquote troubes)’ is closed to new replies.