Plugins─Pagebar


View: 1280

Pagebar可以讓使用者方便地瀏覽。

  1. 把抓下來的壓縮檔解開上傳到wp-content/plugin
  2. 在你的 theme 的 style.css 裡面 import pagebar.css 檔
  3. 啟用該 plugin
  4. 找到<div class="navigation">,把下面這行加進去
    <?php wp_pagebar(array(’before’=>’Pages: ‘))?>

幾點需要注意的:

  1. 在 admin panel 裡的 Options -> Reading -> Show at most 要設成用 posts,不要用 days
  2. 出現相關檔案在 index.phparchive.phpsearch.php

相關參考:
http://www.robbin.cc/archives/2006_11_03/357
http://blog.ijliao.info/archives/2006/05/23/2303/

 







Leave a Reply

(required)