用 Google 搜尋:

無聊人的無聊故事

WordPress plugin - Last Modified

— by C.H.Weng @ 9:52 下午

Last Modified

Introducing

如果文章有修改過,則顯示最後修改時間。

Features

  • 可自訂前置與後置字串。
  • 若文章不曾修改,則不顯示任何文字。

Download

目前版本:0.1

http://www.chweng.idv.tw/downloads/last-modified.zip

Installation

安裝啟用
  1. 將解壓縮出來的 last-modified.php 放到 WordPress 的 plugin 資料夾,預設為 wp-content/plugins。
  2. 在控制台中啟用這個 plugin。
輸出最後修改時間
  1. 開啟目前使用佈景的相關檔案,例如 index.php。
  2. 在要顯示評論數量的地方,加上這個程式碼:
    <?php echo last_modified('(最後修改於 ',')'); ?>
參數說明
  1. 前置字串 - 顯示於最後修改時間之前的字串,預設為Last modified at
  2. 後置字串 - 顯示於最後修改時間之後的字串,預設為(空白)

Version History

沒什麼意外的話,應該是不會有改版了。

  • 0.1: 初次釋出

沒有評論

(目前尚無評論)

發表評論

(必須輸入。)
(必須輸入,但不會公開。)
(選擇性輸入、公開資訊。)

不可以 使用 HTML 標籤;你 可以 使用 BBCode 標籤。
目前支援的標籤: b color email i img size strong u url。

Comment Preview
↑Meta↑
↑Authors↑
↓Search↓
↑Categories↑
↑Recent Posts↑
↓Most Popular Posts↓
↑Recent Comments↑
↓Recent Trackbacks↓
↓Archives↓
↓Themes↓
Powered by WordPress™
Valid RSS & Atom Feed