Plugins─Pagebar
View: 1280
Pagebar可以讓使用者方便地瀏覽。
- 把抓下來的壓縮檔解開上傳到wp-content/plugin
- 在你的 theme 的 style.css 裡面 import pagebar.css 檔
- 啟用該 plugin
- 找到<div class="navigation">,把下面這行加進去
<?php wp_pagebar(array(’before’=>’Pages: ‘))?>
幾點需要注意的:
- 在 admin panel 裡的 Options -> Reading -> Show at most 要設成用 posts,不要用 days
- 出現相關檔案在
index.php、archive.php、search.php
相關參考:
http://www.robbin.cc/archives/2006_11_03/357
http://blog.ijliao.info/archives/2006/05/23/2303/