瀏覽代碼

Kill nav

Remove those pesky previous and next post links.
master
Mike Rawlins 9 年之前
父節點
當前提交
92b2b5d6b9
共有 1 個檔案被更改,包括 0 行新增9 行删除
  1. +0
    -9
      single-site.php

+ 0
- 9
single-site.php 查看文件

@@ -28,15 +28,6 @@ get_header(); ?>
// comments_template();
// endif;

// Previous/next post navigation.
the_post_navigation( array(
'next_text' => '<span class="meta-nav" aria-hidden="true">' . __( 'Next', 'twentyfifteen' ) . '</span> ' .
'<span class="screen-reader-text">' . __( 'Next post:', 'twentyfifteen' ) . '</span> ' .
'<span class="post-title">%title</span>',
'prev_text' => '<span class="meta-nav" aria-hidden="true">' . __( 'Previous', 'twentyfifteen' ) . '</span> ' .
'<span class="screen-reader-text">' . __( 'Previous post:', 'twentyfifteen' ) . '</span> ' .
'<span class="post-title">%title</span>',
) );

// End the loop.
endwhile;


Loading…
取消
儲存