我有一个wordpress网站,我一直在做它的feed。我注意到,当一篇文章被分页时,它只会呈现文章的第一页。我需要做的是获取帖子的所有内容,而不仅仅是第一页。
while( have_posts()) : the_post();
?>
<item>
<title><?php the_title_rss(); ?></title>
<link><?php the_permalink_rss() ?></link>
<comments><?php comments_link_feed(); ?></comments>
<pubDate><?php echo mysql2date(\'D, d M Y H:i:s +0000\', get_post_time(\'Y-m-d H:i:s\', true), false); ?></pubDate>
<dc:creator><![CDATA[<?php the_author(); ?>]]></dc:creator>
<?php
$pub_date= mysql2date(\'D, d M Y H:i:s +0000\', get_post_time(\'Y-m-d H:i:s\', true), false);
。。。。。。$description = get_post(get_post_thumbnail_id())->post_content; // The Description
$content = get_the_content_feed(\'rss2\');
有什么建议吗?