WP佈景主題Atahualpa中使用WP-PostRatings

WP plugin Compatibility常常看見一般部落格文章都有星等評價,於是找了Lester ‘GaMerZ’ Chan貢獻的WP-PostRatings外掛,安裝與啟用都很簡單,不需要另外說明,重灌狂人也寫了相當詳細的教學文件,麻煩的是配置與設定,往往都需要去更動佈景主題的檔案,而且是要寫php程式碼,不是很友善,要是換了佈景主題是不是又要改一遍呢?

這類的技術文件永遠寫不完,因為佈景主題設計方式不同,介面語系也可能不同,再加上外掛版本會演進,WordPress主程式也會更新,你看到『不來恩』文章的畫面很可能與你不同,至少跟我的就不一樣,概念大致相通,但臭蟲隨時都可能出現,盡管WordPress提供了相容性的資訊,不過很難第一時間更新,只有你自己試了才知道^^”,目前外掛版本1.50與目前WP版本2.9.2,從右圖看來就知道資料不足,無法判斷相容性!

使用Atahualpa 3佈景主體的好處是,選項配置已經支援WP-PostRatings,只要將%wp-postratings%字串填入想要的配置參數內即可。

步驟

  1. 刪除 “Ratings Vote Text:” 中的<br />%RATINGS_TEXT% 字串
    WP-PostRatings Admin BlockRatings Template - Vote Text
  2. 刪除 “Ratings Nont:” 中的<br />%RATINGS_TEXT% 字串
    Ratings Template - Ratings None
  3. 變更 Page/Post Info Items 選項
    Atahualpa Theme Options - Edit Post Info Itemsatahualpa 3 > Post Info Items / BYLINE
  4. 點擊 “Save Changes”

About Boss Yang

I come from Taiwan.
This entry was posted in IT, WordPress and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre user="" computer="" escaped="">