Описание
The Categories Images is a WordPress plugin allow you to add image to category, tag or custom 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.
REST API Support
Access term images via the WP REST API. The field z_taxonomy_image_url is automatically added to term objects.
Enhanced Shortcodes
[z_taxonomy_image term_id="123" size="medium" link="yes"]— Display a specific term image with a link.[z_taxonomy_list taxonomy="category" style="grid" columns="4" show_name="yes"]— Display a beautiful grid of terms with their images.
Elementor Integration
Use term images dynamically in Elementor via the native Dynamic Tags system.
Settings
Categories Images settings menu is now under Settings > Categories Images to avoid cluttering the main WordPress menu, the settings now is more organized with a dedicated documentation page that includes usage examples and shortcodes.
В меню настроек Вы можете исключить из плагина какие-либо таксономии, чтобы избежать конфликтов с другими плагинами, например, WooCommerce!
Documentation
Documentation is now available inside the plugin settings menu. for more information please visit the Categories Images.
Установка
Вы можете установить категории изображений непосредственно из админ-панели WordPress:
- Visit the Plugins > Add New and search for ‘Categories Images’.
- Click to install.
- Once installed, activate and it is functional.
Или
Ручная установка:
- Download the plugin, then extract it.
- Upload
categories-imagesextracted folder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
You’re done! The plugin is ready to use, for more information please check the plugin description or settings page.
Часто задаваемые вопросы
Please check the documentation page:
https://zahlan.net/blog/2012/06/categories-images/
Отзывы
Участники и разработчики
«Categories Images» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«Categories Images» переведён на 18 языков. Благодарим переводчиков за их работу.
Перевести «Categories Images» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
3.3.1
- Fixed a potential fatal error during REST API initialization.
3.3.0
- Added native Elementor Dynamic Tag support for taxonomy images.
- Integrated with WordPress REST API (adds
z_taxonomy_image_urlto term responses). - Major shortcode overhaul:
- Enhanced
[z_taxonomy_image]with custom links, placeholders, and size support. - Enhanced
[z_taxonomy_list]with grid/list layouts, column control, and conditional name/count display.
- Enhanced
- Performance: Modern PHP array syntax refactor and optimized asset versioning.
- Fixed frontend CSS loading for shortcode grids.
- Categories Images settings menu is now under Settings > Categories Images to avoid cluttering the main WordPress menu, the settings now is more organized with a dedicated documentation page that includes usage examples and shortcodes.
3.2.0
- Fix wp_options bloat issues by migrating to Term Meta API (wp_termmeta) for WP 4.4+.
- Backward compatibility for WP < 4.4 maintained via wp_options fallback.
- Improved performance by implementing Singleton pattern to reduce class instantiation overhead.
- Security enhancements (nonce verification, input sanitization).
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
- Отключите автозагрузку опций для повышения производительности запросов WordPress.
3.0.0
- Исправлены проблемы со страницей настроек
- Исправлена совместимость с последней версией WordPress
- Переписал весь плагин с нуля, теперь код намного эффективнее, читабельнее и чище
2.5.4
- Исправлена совместимость с последней версией WordPress
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.
- Adding language support for Catalan. Thanks to Marc Queralt.
- 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.
- 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.
2.4.1
- Fix placeholder bug in backend.
2.4
- Adding language support for Spanish (Thansk so much to Maria Ramos).
- 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
- Исправлена ошибка в js для WordPress media uploader.
2.3
- Новые скриншоты.
- Обновленный языковой файл.
- Добавлена поддержка как старого, так и нового загрузчика мультимедиа WordPress.
- Добавлено новое подменю (Категории изображений) в меню настроек.
- Добавлены новые настройки для исключения любых таксономий из плагина.
- Добавлено новое изображение-заполнитель.
Thanks to Patrick and Hassan for the new ideas.
2.2.4
- исправлена ошибка java script, сообщалось о конфликте с плагином WooCommerce. Спасибо Marty McGee.
2.2.3
- исправлена ошибка при отображении изображения категории или таксономии во внешнем интерфейсе.
2.2.2
- исправлена ошибка при отображении изображения-заполнителя в wp-admin.
2.2.1
- отредактируйте z_taxonomy_image_url(), чтобы возвращать данные только в том случае, если пользователь вставил изображение для выбранной категории или таксономии
2.2
- исправлена ошибка, запрещающая запуск функции execpt при редактировании категории или таксономии, чтобы избежать влияния на другие страницы редактирования wordpress в wp-admin
2.1
- исправлена ошибка в языках
- исправлена ошибка в категории быстрого редактирования или таксономии
2.0
- Новые скриншоты.
- Добавлена поддержка l10n.
- Добавлены арабский и китайский языки.
- Добавлена новая кнопка для загрузки или выбора изображения с помощью wordpress media uploader.
- Добавлен заполнитель изображения по умолчанию.
- Добавлена миниатюра в списке категорий или таксономий.
- Added image thumbnail, image text box, upload button and remove button in quick edit.
Thank so much to Joe Tse
1.2
- Добавляю несколько скриншотов
1.1
- Исправлена ошибка javascript в wordpress 3.4
1.0
- 1.0 Первая версия






