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

Categories Multiple Images

外掛說明

This plugin is an extended version of Categories Images.

The Categories Multiple Images Plugin allow you to add unlimited amount of image to a category or any other taxonomy.

You can use:

to get the direct image url and put it in any tag in your template.

Also from settings menu you can exclude any taxonomies from the plugin to avoid conflicting with another plugins like WooCommerce!

More documentation
https://github.com/Binternet/WordPress-Plugin-Categories-Multiple-Images

安裝方式

e.g.

  1. Put the plugin directory in your plugins directory (Usually /wp-content/plugins/)
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php Categories_Multiple_Images::get_image( term_id, image_number, image_size, use_placeholder ); ?> in your templates
    Values are:

    • term_id – Category ID (or any other term_id)
    • image_number – Desired image number (starting from 1), you can also use ‘random’ and a random image from that category will be returned
    • image_size – desired image size, defaults to ‘full’
    • use_placeholder – should a placeholder should be returned if the image does not exists

常見問題集

Installation Instructions

e.g.

  1. Put the plugin directory in your plugins directory (Usually /wp-content/plugins/)
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php Categories_Multiple_Images::get_image( term_id, image_number, image_size, use_placeholder ); ?> in your templates
    Values are:

    • term_id – Category ID (or any other term_id)
    • image_number – Desired image number (starting from 1), you can also use ‘random’ and a random image from that category will be returned
    • image_size – desired image size, defaults to ‘full’
    • use_placeholder – should a placeholder should be returned if the image does not exists

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.1

  • Added a new option to pass ‘random’ as an image number and get a random image for a given category ID
  • Some documentation and refactoring

1.0.3

  • Bugfix – Thanks to Paul Tero

1.0.2

  • Bugfix, on need for php_short_tags enabled anymore.

1.0.1

  • Bugfix

1.0.0

  • First release, my first plugin 😉