Typecho 默认的上下页、上下篇的调用
No Reply , Posted in 代码 on April 27, 2014
默认的上下页、上下篇的调用
上下页
<?php if (!$this->is('single')): ?> <?php $this->pageLink('« 旧文章', 'next') ?> <?php $this->pageLink('新文章 »', 'prev') ?> <?php endif; ?>
上下篇
<?php $this->thePrev('上一篇 : %s', '没有上一篇'); ?> <?php $this->theNext('下一篇 : %s', '没有下一篇'); ?>