Tags: taxonomy image, category image, featured image, category logo, term image
Contributors: sajjad67
Author: Sajjad Hossain Sagor
Tested up to: 6.6
License: GPLv2
Requires at least: 5.6
Stable tag: trunk
Add Custom Image To Your Category / Custom Taxonomy Field With Advanced Category and Custom Taxonomy Image Plugin. Upload Different Image For Different Devices ex: Mobile, Tablet, Desktop, iOS, Android, Windows Phone. Built-in Template Tag To Use Anywhere You Want In Your Theme : get_taxonomy_image($term_id, $return_img_tag, $class);
Now its easier to include category / custom taxonomy image with this plugin for different platforms. No need to overload mobile bandwidth with high pixel image size. You can now select different image for different devices.
$taxonomy_img = get_taxonomy_image( int $term_id = get_queried_object()->term_id , boolean $return_img_tag = false , array $class = array() ); get taxonomy image url if $return_html = true then return tag Parameters : $term_id (int) (Required) Taxonomy ID of the term. $return_img_tag (boolean) (Optional) Formatted Image with tag for the field during output. $class (array) (Optional) Array of image classes ex: array('class1','class2',...) but $return_img_tag should be true to add image class. echo $taxonomy_img; // taxonomy image url
where $term_id is 'category / term id'
- Option To Enable Custom Image Upload for different taxonomies
- Option To Enable Custom Image Upload for different devices
- Very simple to use & WP Default Media Uploaded to upload image
- Built-in Template Tag to use in your theme template
Interested in contributing to Drag & Drop Menu Items? Contact me at sagorh672(at)gmail(dot)com
- How can i use the image i uploaded? Get Your Taxonomy tag_ID and use get_taxonomy_image( $term_id ) to get the image url and use it in your theme's template area where you want to show it. (Note : In the taxonomy list there you will find already created template tag to use see screenshot 3)
- Go to Wordpress plugin page
- Click Add New & Upload Plugin
- Drag / Click upload the plugin zip file
- The resulting installation screen will list the installation as successful or note any problems during the install. If successful, click Activate Plugin to activate it, or Return to Plugin Installer for further actions.
- Go to your Dashboard ->Settings -> Advanced Category & Taxonomy Image.
- There You Will Find Fields To Enable Taxonomy & Device Filters.
- After Enabling Go To Your Taxonomy Add/Edit Page To Upload Image
- Minor Update.. tested for latest wp compatibility..
- Added a new shortcode for dynamic usage in any template or dnd builder. Plus tested for latest wp compatibility..
- Minor Update.. tested for latest wp compatibility..
- Minor Update.. tested for latest wp compatibility.. added any device option and code style changed and beautified.
- Minor Update.. now tax template tag won't be visible if no image is added
- Minor Update.. updated for tranlations ready..
- Minor Update.. tested for latest wp compatibility..
- Minor Update.. tested for latest wp compatibility..
- Minor Update.. tested for latest wp compatibility..
- Initial release.