這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Post Categories Gallery

外掛說明

Post Category Gallery displays all non-empty post categories in a horizontal list, graphically displayed as buttons. The categories can be selected such that the posts shown below it are filtered. For each post, the featured image is displayed. The post thumbnails link to the posts themselves.

Download the plugin from my website , as well as the screenshots

Features

  • Three different color schemes: brown, green and blue
  • Categories can be excluded or included
  • Configurable thumbnail size
  • Show category count or not
  • Re-uses the parameters from the standard wp_list_categories template for the categories list.
  • Caption of post shown above or below each featured image

螢幕擷圖

  • Green color scheme. /trunk/screenshot-1.png
  • Blue color scheme. /trunk/screenshot-2.png
  • Brown color scheme. /trunk/screenshot-3.png

安裝方式

Shortcode Installation Example

[postcategorygallery default-category=17  color_scheme=green image_caption_position=bottom thumbnail_size=medium  caption_font_size=18px]

Defaults

  • total_width = 100% (possible values: e.g. 50% or 200px, etc)
  • show_count = 1 (possible values: 1 or 0)
  • exclude = category if of ‘uncategorized’ category
  • show_option_none = No categories!
  • thumbnail_size = medium (possible values: medium, large)
  • image_caption_position = top (possible values: bottom or top)
  • color_scheme = green (possible values: brown, green or blue)
  • caption_font_size = 24px (possible values: see CSS font-size property)
  • orderby = name (possible values: ID, name, slug, count, term_group)
  • order = ASC (possible values: ASC or DESC)
  • number = (possible values: 1 to ..)

Explanation of options

  • total_width: Sets the width of the area containing the categories list and gallery thumbnails
  • show_count: Show category count between parenthesis or not
  • exclude: comma separated list of category IDs to exclude
  • include: comma separated list of category IDs to include
  • show_option_none: Set the text to show when no categories are listed. Defaults to ‘No categories!’
  • thumbnail_size: One of the configured thumbnail sizes. Default sizes available are ‘large’ and ‘medium’ which can be controlled via Settings > Media menu.
  • image_caption_position: Controls whether captions of the images (where captions are post titles) are shown above (“top”) or below (“bottom”) the featured images.
  • color_scheme: Choose between three different color schemes: “brown”, “blue” or “green”. Green is default.
  • caption_font_size: The size of the caption font. See CSS property ‘font-size’ for possible values.
  • orderby: The category field name by which categories in the categories list are sorted. Possible values are ID, name, slug, count, term_group. Default is name.
  • order: Controls whether categories are sorted in ascending (ASC) or descending (DESC) order
  • number: Set a maximum for the amount of categories shown. Default is no limit.

常見問題集

Can I add a question to this FAQ?

Yes, please send me a message via www.fides-it.nl/contact 🙂

使用者評論

閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Post Categories Gallery〉的開發相關工作。

參與者

將〈Post Categories Gallery〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

  • v1.0 – Maiden voyage