🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
T

TCL Categories Image

5/5 (2 ratings) 10 active installs Updated Jan 19, 2018
Categories image submenu under settings tab

Categories image submenu under settings tab

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