外掛說明
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
螢幕擷圖
安裝方式
Categories Images Plugin allow users to add an image to category or custom taxonomies.You can install it like other plugins.You can add plugin through admin panel
1.Visit the Plugins > Add New and search for TCL Categories Image.
2. Click to install and then activate
3.Go to posts->categories or any other taxonomy and add category image
OR you can also upload plugins file to plugins folder and activate it through plugins tab.
常見問題集
- Installation Instructions
-
Categories Images Plugin allow users to add an image to category or custom taxonomies.You can install it like other plugins.You can add plugin through admin panel
1.Visit the Plugins > Add New and search for TCL Categories Image.
2. Click to install and then activate
3.Go to posts->categories or any other taxonomy and add category imageOR you can also upload plugins file to plugins folder and activate it through plugins tab.