Breezy Archives Plugin for Habari

簡介

Breezy Archives 是一個模仿 Live Archives 的彙整 Plugin 。當瀏覽器關閉 JavaScript 功能時,它會變成 Clean Archives ,而不會留下一個空白的頁面。

安裝

  1. 解壓縮檔案。
  2. 將 breezyarchives 資料夾放到 /user/plugins 資料夾中,然後到 Habari 管理介面中啟用它。
  3. 將下面這行貼到你的 Theme 中。

    <?php if ( Plugins::is_loaded('BreezyArchives') ) $theme->breezyarchives(); ?>
    

設定 / 自訂

啟用後,請按下 Configure 來設定此 Plugin ,有這些項目可以設定:

  • Chronology — 依月份彙整的設定
    • Title for Chronology Archives — 月份彙整的標題。
    • Month Format — 設定月份的格式,共有四個選項可選擇。
      • Full name — 全稱 (January – December)
      • Abbreviation — 縮寫 (Jan – Dec)
      • Number with leading zero — 前方補零的數字 (01 – 12)
      • Number without leading zero — 前方不補零的數字 (1 – 12)
    • Show Monthly Posts Count — 顯示每個月份的文章數量。
  • Taxonomy — 依標籤彙整的設定
    • Title for Taxonomy Archives — 標籤彙整的標題。
    • Show Tagged Posts Count — 顯示每個標籤的文章數量。
    • Excluded Tags — 此為選填欄位。在此輸入你不要顯示於標籤彙整的 tag slugs
  • Pagination — 分頁設定
    • № of Posts per Page — 每頁顯示幾篇文章。
    • Next Page Link Text — 下一頁的連結文字。
    • Previous Page Link Text — 上一頁的連結文字。
  • General — 一般設定
    • Show Newest First — 將新的文章放在前面。
    • Show № of Comments — 顯示每篇文章的迴響數量。

如果你要修改 CSS 呈現的結果,可以將 breezyarchives.css 複製到你的 Theme 資料夾中並修改這個檔案。

下載

更新紀錄

  • 0.1 (2008-08-27) — 初次釋出。

Introduction

Breezy Archives is an archives plugin which mimics ‘Live Archives’ on WordPress. When JavaScript is not available, it will graceful degrade to a ‘Clean Archives’.

Installation

  1. Extract the file.
  2. Put the folder ‘breezyarchives’ to /user/plugins and activate it.
  3. Copy and paste the following line to your theme.

    <?php if ( Plugins::is_loaded('BreezyArchives') ) $theme->breezyarchives(); ?>
    

Configuration & Customization

After activated it, click Configure button to setup the plugin. Most of following options are required and have to be set properly.

  • Chronology — Configurations about Monthly Archives
    • Title for Chronology Archives
    • Month Format — There are 4 options: ‘Full name’, ‘Abbreviation’, ‘Number with leading zero’, ‘Number without leading zero’
    • Show Monthly Posts Count — Check this to show the number of posts of each month.
  • Taxonomy — Configurations about Tag Archives
    • Title for Taxonomy Archives
    • Show Tagged Posts Count — Check this to show the number of posts of each tag.
    • Excluded Tags — This field is optional. Put tag slugs here which you want it to be excluded from tag archives.
  • Pagination — Configurations about Pagination
    • № of Posts per Page
    • Next Page Link Text
    • Previous Page Link Text
  • General — General Configurations
    • Show Newest First — Check this to show latest posts first.
    • Show № of Comments — Check this to show the number of comments of each post.

You can copy ‘breezyarchives.css’ to your theme directory and modify the CSS style.

Download

Changelog

  • 0.1 (2008-08-27) — Initial release.

3 Comments

  1. Hi!
    This is awesome. Just one thing missing, tough: people using blog platforms as CMS (like me) need to organize things by categories, not only by dates and tags. Would you implement a categories view for Breezy Archives ? ( that used to be called taxonomy in E.L.A. I might switch to Habari just because of your plugin!)

  2. But in Habari, there is no ‘categories’.

  3. oops!
    thanks anyway…

Leave your thoughts
  • You can use some HTML in your comment.
  • Your comment may not display immediately due to spam filtering. Please wait for moderation.