WP Multiple Taxonomy Images Wordpress Plugin - Rating, Reviews, Demo & Download
![WP Multiple Taxonomy Images Wordpress Plugin - Rating, Reviews, Demo & Download](https://wp-plugins-directory.com/wp-content/uploads/This-plugin-does-not-have-a-preview-image.jpg)
Plugin Description
The WP Multiple Taxonomy Images Plugin allows you to add multiple images to a term.
It supports category, tags and custom taxonomies. Terms can have a different number
of images.
- Works with custom categories, tags, and custom taxonomies.
- Multiple images per term.
- Number of images can be changed individually for each term.
- Thumbnails overview in the term list.
- Images can be changed when editing terms.
- A simple settings page allows you to exclude certain taxonomies.
Usage
- Use
<?php if (function_exists('get_tax_image_urls')) $img_urls = get_tax_image_urls($term_id ,'full'); ?>
to get an array of all image URLs. - Use
<?php if (function_exists('get_tax_images')) $img_html = get_tax_images($term_id ,'full'); ?>
to get all images as HTML img-tags. - Use
<?php if (function_exists('get_tax_image_metadata')) $img_html = get_tax_image_metadata($term_id); ?>
to get an array of every image metadata.
Each array entry has an object, which corresponds to the return value ofwp_get_attachment_metadata()
for each single image.
If you do not know the $term_id
of the current term in your category/taxonomy template, then you
can query it with the following command:
$tax_obj = get_queried_object();
$term_id = $tax_obj->term_id;
Screenshots
Images can be added via the media box when creating a new tag/category (custom term).
You can add or remove as many images you want per term.
All images are shown as thumbnails.
When editing the terms, one can still change images or the number of images.
A simple settings page allows you to exclude taxonomies.