Categories Images

外掛說明

The Categories Images Plugin allow you to add image with category or taxonomy.

Use <?php if (function_exists('z_taxonomy_image_url')) echo z_taxonomy_image_url(); ?> to get the url and put it in any img tag or simply use <?php if (function_exists('z_taxonomy_image')) z_taxonomy_image(); ?> in (category or taxonomy) template.

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

More documentation

Go to http://zahlan.net/blog/2012/06/categories-images/

螢幕擷圖

  • Image preview and new image field in add/edit category or taxonomy with upload button which allow you to select current or upload a new image.
  • New image field with (upload/remove) buttons to allow you to edit category or taxonomy image in quick edit.
  • When you click the upload button the wordpress upload box will popup, upload or select image then press use this image.
  • New menu (Categories Images) for the plugin settings.
  • Now you can exclude any taxonomy from the plugin and save changes.

安裝方式

You can install Categories Images directly from the WordPress admin panel:

1. Visit the Plugins > Add New and search for 'Categories Images'.
2. Click to install.
3. Once installed, activate and it is functional.

OR

Manual Installation:

1. Download the plugin, then extract it.
2. Upload `categories-images` extracted folder to the `/wp-content/plugins/` directory
3. Activate the plugin through the 'Plugins' menu in WordPress

You’re done! The Plugin ready to use, for more please check the plugin description.

More documentation

Go to http://zahlan.net/blog/2012/06/categories-images/

常見問題集

Please check the documentation page:
http://zahlan.net/blog/2012/06/categories-images/

使用者評論

2023 年 11 月 9 日
ITS ..GOOD OK.. PUT 3 STAR BECAUSE DO NOT HAVE SELECTION IF HAVE IMAGE THE POST ... TO LEAVE IMAGE FROM POST... THIS IF YOU FIX ITS THE BEST... THE PLUGIN DESERVES ABOVE 4 STARS EQUAL TO 5..
2023 年 10 月 5 日
I installed it, and then realised that my SEO plugin allows OG images. I deactivated and deleted it. Now none of my categories work. I reset the permalinks, nothing. The categories show there are items, but the posts show no categories or tags attached to the post, and none can be added. I don't know WHAT it did!
2023 年 7 月 28 日
I had tested them all, and I can confirm that this plugin is the best in its category. I use it throughout my project, the z_taxonomy() function has become my favorite 😉 Thank you, Muhammad, for continuing to maintain it 🙏.
2021 年 11 月 30 日
The plugin saves image link into the Options table. Every saved term will add a row to the site's Options table, which may slow down the site if there are many term images. Also, the option does not get deleted after you remove a term image, it is the option's value that gets cleared out. The option only gets deleted if you delete the term. To me, this looks unprofessional.
2021 年 9 月 17 日
The plugin adds an option from the main menu to a settings page that literally has only one setting and will only be used once. This menu item should be a "Settings" submenu. Having this option in the main menu is unjustified and simply clutters up the menu. Unfortunately for this reason, I chose not to use this plugin and look for alternatives.
閱讀全部 84 則使用者評論

參與者及開發者

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

參與者

〈Categories Images〉外掛目前已有 16 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

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

對開發相關資訊感興趣?

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

變更記錄

3.1.0

  • Added DE translation, thanks to denarie.
  • Start using imageId instead of imageUrl to solve any the CDN issues, thanks so alessandrocarrera.
  • Tested with the latest version of wordpress

3.0.1

  • Disable options autoload to enhance wordpress queries performace

3.0.0

  • Fix settings page issues
  • Fix compatibility with the latest WordPress version
  • Rewrote the whole plugin from scratch, now the code is much efficient, readable and cleaner

2.5.4

  • Fix compatibility with the latest WordPress version

2.5.3

  • Fix not displaying single tag image bug in tag.php template
  • Adding language support for Swedish. Thanks to Simon Sandgren

2.5.2

  • Fix displaying full size image bug in backend
  • Fix quick edit bug
  • Some code enhancements

2.5.1

  • Adding language support for Russian.
  • Adding language support for Serbian. Thanks to Andrijana Nikolic [http://webhostinggeeks.com/].
  • Adding language support for Catalan. Thanks to Marc Queralt i Bassa [http://www.demomentsomtres.com/].
  • Change the plugin text domain from zci to categories-images to match the plugin slug as requested by WordPress.

2.5

  • Adding language support for Ukrainian. Thanks to Michael Yunat [http://getvoip.com].
  • Adding new function z_taxonomy_image() to display category or taxonomy image directly with support for size, alt and other attributes, for and how to use it please check the documentations.
  • Some code enhancements.

2.4.2

  • Update code to reduce db queries. Thanks to fburatti [https://profiles.wordpress.org/fburatti/].

2.4.1

  • Fix placeholder bug in backend.

2.4

  • Adding language support for Spanish (Thansk so much to Maria Ramos [http://webhostinghub.com]).
  • Adding support for resizing categories images (Thanks so much to Rahil Wazir).
  • Some code enhancements.

2.3.2

  • Adding language support for French.

2.3.1

  • Bug fix in js for WordPress media uploader.

2.3

  • New screenshots.
  • Updated language file.
  • Added support for both old and new WordPress media uploader.
  • Added new submenu (Categories Images) in Settings menu.
  • Added new settings for excluding any taxonomies from the plugin.
  • Added new placeholder image.

Thanks to Patrick http://www.patrickbos.nl and Hassan https://profiles.wordpress.org/hassanhamm/ for the new ideas.

2.2.4

  • java script bug fixed, reported about conflicting with WooCommerce plugin. Thanks to Marty McGee.

2.2.3

  • bug fix in displaying category or taxonomy image at the frontend.

2.2.2

  • bug fix in displaying placeholder image in wp-admin.

2.2.1

  • edit z_taxonomy_image_url() to only return data in case the user inserted image for the selected category or taxonomy

2.2

  • fix a bug, prevent a function from running execpt when editing a category or taxonomy to avoid affecting other wordpress edit pages in the wp-admin

2.1

  • fix a bug in languages
  • fix a bug in quick edit category or taxonomy

2.0

  • New screenshots.
  • Added l10n support.
  • Added Arabic and Chinese languages.
  • Added new button for upload or select an image using wordpress media uploader.
  • Added default image placeholder.
  • Added thumbnail in categories or taxonomies list.
  • Added image thumbnail, image text box, upload button and remove button in quick edit.
    Thank so much to Joe Tse http://tkjune.com 🙂

1.2

Adding some screenshots

1.1

Fix javascript bug with wordpress 3.4

1.0

The First Release