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

JBX Category Columns

描述

A simple plugin that allows users to insert columns of categories in posts, pages, custom post types or directly in a template. In addition, you can set the number of posts to display and whether or not to display the featured image associated with the post.

Usage

Add the following tag to any post, page or custom post type.

[jbx]

The default number of posts per category the plugin will show is 3. You can specify the number of posts to show by specifying in the numberposts attribute. See below for examples:

[jbx columns='3' names='Category Name 1, Category Name 2, Category Name 3' numberposts='3' images='true']

You can also add it directly to a template using the folowing code and adjusting the attributes to your likeing.

<?php echo do_shortcode("[jbx columns='3' names='Category Name 1, Category Name 2, Category Name 3' numberposts='3' images='true']"); ?>

In addition, you now can also add multiple instances to by using the shortcode multiple times.

Styles can be edited in the stylesheet included in the jbx-catcolumns plugin folder. The file is entitled jbxCatColumns-style.css.

螢幕截圖

  • Frontend example

安裝

  1. Upload the jbx-catcolumns folder and all its contents to the /wp-content/plugins/ directory
  2. Activate the plugin through the \’Plugins\’ menu in WordPress
  3. Place [jbx] in your post, page or custom post type, where ever you would like the contents to be displayed.

評價

There are no reviews for this plugin.

貢獻者及開發者

“JBX Category Columns” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 JBX Category Columns 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.1
Changed the plugin to work off a simple shortcode. No more template tags. Minor performance updates. This is a major update such that upgrading will require you to remove the old template tags and use the methods described in the above Usage section.

1.0
Initial plugin release.