< ?php the_content(); ?>
在其后面加上一下代码即可:< ?php wp_link_pages(array(’before’ => ‘Pages: ‘, ‘after’ => ‘?
‘, ‘next_or_number’ => ‘number’)); ?>
nextpage
记住,分别在nextpage前后加上“!”
原创文章转载请注明出处,转载自:[集思博客]:http://www.giisi.com
本文链接:[两句代码实现wordpress分页]:http://www.giisi.com/design/liangjudaimashixianwordpressfenye.html
集思博客订阅地址:[http://rss.giisi.com]



还是用插件比较好
@安庆法律人, 我在逐步K掉我博客上面的插件。