Extended Live Archive Plugin

使用它是因為 wordpress 提供的搜尋功能太簡單,而 Extended Live Archive Plugin 是根據 Super Archives Plugin 再作改進,能以年、月份及文章分類的形式搜尋文章,方便而且快捷。

在得到天佑幫助下,終於在昨天完成安裝。並將原本在 Sidebar 內的 Archive 和 Categories 連結移到頁面上方的 Navigation Bar 裏,這樣當要找某一時段和某一篇文章都比以往方便。

完成安裝過程後,為了將來有需要再用到相關資料,這篇文章會有簡單的設定教學。而由於教學是根據天佑的教學而作修改,大家亦可以到他的 blog 觀看:
天佑的Extended Live Archive Plugin 教學

安裝程序:

1. 首先確認你的 webhost 支援 PHP4.3,然後便可到作者網頁下載最新版本的插件。

2. 解壓後上載至 wp-content/plugin/ 目錄內,然後在 wp-content/ 內建立一個名叫 af-extended-live-archive 的目錄,並需將兩者的權限設定為可寫入,因為插件是需要在其內寫入 cache file 來提升速度。至於插件的正確目錄結構如下:

structure

3. 插件部份上載完成後,要令它出現在頁面上,需要新增一個 Page Template,並加入以下語句:

add code

4. 完成以上步驟便可登入 admin panel 內,新增一個 Page,這個 Page 只需給它一個標題,無需內容,但要選擇使用剛才新增的 Page Template.

using page template

5. 最後便可到插件控制頁啟動 Extended Live Archive Plugin.

要留意的事,若只依上步驟安,最後見到版面是單調地年月、標題,不大美觀。其實它的版面以 CSS 控制,大家可透過修改 CSS 來自定顯示方式,若像我一樣對這方面不太熟識的話,插件也附上了一個 CSS 檔供大家用和修改。而插入這個 CSS 檔的方法很簡,大家只需要將其內容全部複製至 theme 的 style.css 檔案內即可。而整個過程便算完成。

Tags: ,

2 Responses to “Extended Live Archive Plugin”

  1. TONGNo Gravatar says:

    偶而於 MAC 上開啟這個 plugin page 一看,原來在 MAC OSX 10.2.x + Safira 1.0.x / IE 只會出現白頁,不知是我的電腦出問題還是 plugin 的 bug,但現在大多麥客均已升級至 Tiger, 看來這個問題影還不大吧?

  2. [...] 相關閱讀 ‧Extended Live Archive Plugin – TONG’s Photo Gallery ‧Extended Live Archive 0.9 版本教學 – 天佑的自由天地 ‧Ultimate Tag Warrior 教學 – 天佑的自由天地 free talk Plugin wordpress // Used for showing and hiding user information in the comment form function ShowUtils() { document.getElementById(“authorinfo”).style.display = “”; document.getElementById(“showinfo”).style.display = “none”; document.getElementById(“hideinfo”).style.display = “”; } function HideUtils() { document.getElementById(“authorinfo”).style.display = “none”; document.getElementById(“showinfo”).style.display = “”; document.getElementById(“hideinfo”).style.display = “none”; } [...]

Leave a Reply