跳到内容

TCL Categories Image

v1.0.1

shishir · 2017年12月12日 上架

TCL Categories Images Plugin allow users to add an image to category or custom taxonomies.You can easily assign an image to each category/taxonomy or …

正在使用
10+
评分
5.0 / 5
累计下载
1,760
最近更新
2018年1月20日
2 条评价需要 WordPress 4.4+已测试到 4.9.36PHP 5.2.4+

截图

Categories image submenu under settings tab
Categories image submenu under settings tab
Categories image setting detail page
Categories image setting detail page
Add new category page where you can add image to a category
Add new category page where you can add image to a category
Edit a category page where you can edit/add image to a category
Edit a category page where you can edit/add image to a category

TCL Categories Images Plugin allow users to add an image to category or custom taxonomies.You can easily assign an image to each category/taxonomy or tag and then display image for category/taxonomy/archive template via following functions.

Usage:

<?php if (function_exists('tclTaxonomyImage')) tclTaxonomyImage(); ?> to display image
<?php if (function_exists('tclTaxonomyThumbUrl')) echo tclTaxonomyThumbUrl(); ?> to get URL

Here, You can specify image size as a second parameter

<?php if (function_exists('tclTaxonomyImage')) tclTaxonomyImage(NULL,'thumbnail'); ?> to display image
<?php if (function_exists('tclTaxonomyThumbUrl')) echo tclTaxonomyThumbUrl(NULL,'thumbnail'); ?> to get URL

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums