wordpress一个分页的测试页面
在文章中需要分页的地方加入
<!–nextpage–>
模板文件single.php
<?php the_content(); ?>
下面加上
<?php link_pages(’<p><strong>分页:</strong> ‘, ‘</p>’, ‘number’); ?>
在文章中需要分页的地方加入
<!–nextpage–>
模板文件single.php
<?php the_content(); ?>
下面加上
<?php link_pages(’<p><strong>分页:</strong> ‘, ‘</p>’, ‘number’); ?>
看了你的这个日志,很好,终于学会了WP分页了!谢谢!
现在很忙,没有时间玩wp