Archive

Posts Tagged ‘page’

wordpress一个分页的测试页面

October 4th, 2008 2 comments

在文章中需要分页的地方加入

<!–nextpage–>

模板文件single.php

<?php the_content(); ?>

下面加上

<?php link_pages(‘<p><strong>分页:</strong> ‘, ‘</p>’, ‘number’); ?>

Categories: Wordpress Tags: ,