
內容簡介
Categories Images 外掛能夠讓你將圖片與分類或分類法(taxonomy)相關聯。
使用 <?php if (function_exists('z_taxonomy_image_url')) echo z_taxonomy_image_url(); ?> 來獲取URL,並將其放入任何img標籤中,或在分類或分類法模板中直接使用 <?php if (function_exists('z_taxonomy_image')) z_taxonomy_image(); ?>。
從設置菜單中,你也可以排除任何分類法,以避免與其他外掛(如 WooCommerce)發生衝突!
更多文檔
前往http://zahlan.net/blog/2012/06/categories-images/
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
The Categories Images is a WordPress plugin allow you to add image to category, tag or custom taxonomy.
Use to get the url and put it in any img tag.
Or simply use 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.
From the settings menu, you can exclude any taxonomies from the plugin to avoid conflicts with other plugins like WooCommerce!
Documentation
Documentation is now available inside the plugin settings menu. for more information please visit the Categories Images.
