WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: taxonomy-images (Used by 2,334 domains)

Taxonomy Images

Displaying Your Images in Your Theme

There are a few filters that you can use in your theme to display the image associations created by this plugin. Please read below for detailed information.

Display a single image representing the term archive

The following filter will display the image associated with the term asked for in the query string of the URL. This filter only works in views that naturally use templates like category.php, tag.php, taxonomy.php and all of their derivatives. Please read about template hierarchy for more information about these templates. The simplest use of this filter looks like:

print apply_filters( 'taxonomy-images-queried-term-image', '' );

This code will generate and print an image tag. It’s output can be modifed by passing an optional third parameter to apply_filters(). This parameter is an array and the following keys may be set:

  • after (string) – Text to append to the image’s HTML.

  • attr (array) – Key / value pairs representing the attributes of the img tag. Available options include: alt, class, src and title. This array will be passed as the fourth parameter to WordPress core function wp_get_attachment_image() without modification.

  • before (string) – Text to prepend to the image’s HTML.

  • image_size (string) – May be any image size registered with WordPress. If no image size is specified, ‘thumbnail’ will be used as a default value. In the event that an unregistered size is specified, this filter will return an empty string.

Here’s an example of what a fully customized version of this filter might look like:

print apply_filters( 'taxonomy-images-queried-term-image', '', array(
    'attr'       => array(
        'alt'   => 'Custom alternative text',
        'class' => 'my-class-list bunnies turtles',
        'src'   => 'this-is-where-the-image-lives.png',
        'title' => 'Custom Title',
        ),
    'before'     => '
', 'after' => '
', 'image_size' => 'medium' ) );

Similar functionality

If you just need to get the database ID for the image, you may want to use:

$image_id = apply_filters( 'taxonomy-images-queried-term-image-id', 0 );

If you need to get the full object of the image, you may want to use:

$image = apply_filters( 'taxonomy-images-queried-term-image-object', '' );

If you need to get the URL to the image, you may want to use the following:

$image_url = apply_filters( 'taxonomy-images-queried-term-image-url', '' );

You can specify the size of the image in an option third parameter:

$image_url = apply_filters( 'taxonomy-images-queried-term-image-url', '', array(
    'image_size' => 'medium'
) );

If you need data about the image, you may want to use:

$image_data = apply_filters( 'taxonomy-images-queried-term-image-data', '' );

You can specify the size of the image in an option third parameter:

$image_data = apply_filters( 'taxonomy-images-queried-term-image-data', '', array(
    'image_size' => 'medium'
    ) );

List term images associated with a post object

When a post is being displayed you may want to display the images associated with all of the terms associated with the post. The taxonomy-images-list-the-terms filter does this. Here’s what it looks like in its simplest form:

print apply_filters( 'taxonomy-images-list-the-terms', '' );

This filter accepts an optional third parameter that you can use to customize its output. It is an array which recognizes the following keys:

  • after (string) – Text to append to the output. Default value is a closing unordered list tag.

  • after_image (string) – Text to append to each image. Default value is a closing list-item tag.

  • before (string) – Text to prepend to the output. Default value is an open unordered list tag with an class attribute of “taxonomy-images-the-terms”.

  • before_image (string) – Text to prepend to each image. Default value is an open list-item tag.

  • image_size (string) – Any registered image size. Values will vary from installation to installation. Image sizes defined in core include: “thumbnail”, “medium” and “large”. “full” may also be used to get the unmodified image that was uploaded. Defaults to “thumbnail”.

  • post_id (int) – The post to retrieve terms from. Defaults to the ID property of the global $post object.

  • taxonomy (string) – Name of a registered taxonomy to return terms from. Defaults to category.

Here’s an example of what a fully customized version of this filter might look like:

print apply_filters( 'taxonomy-images-list-the-terms', '', array(
    'before'       => '
', 'after' => '
', 'before_image' => '', 'after_image' => '', 'image_size' => 'detail', 'post_id' => 1234, 'taxonomy' => 'post_tag', ) );

Working with all terms of a given taxonomy

You will want to use the taxonomy-images-get-terms filter. This filter is basically a wrapper for WordPress core function get_terms(). It will return an array of enhanced term objects: each term object will have a custom property named image_id which is an integer representing the database ID of the image associated with the term. This filter can be used to create custom lists of terms. Here’s what it’s default useage looks like:

$terms = apply_filters( 'taxonomy-images-get-terms', '' );

Here is what php’s print_r() function may return:

Array
(
    [0] => stdClass Object
        (
            [term_id]          => 8
            [name]             => Pirate
            [slug]             => pirate
            [term_group]       => 0
            [term_taxonomy_id] => 8
            [taxonomy]         => category
            [description]      => Pirates live in the ocean and ride around on boats.
            [parent]           => 0
            [count]            => 1
            [image_id]         => 44
        )
)

As you can see, all of the goodness of get_terms() is there with an added bonus: the image_id parameter!

This filter recognizes an optional third parameter which is an array of arguments that can be used to modify its output:

  • cache_images (bool) If this value is true all associated images will be queried and cached for later use in various template tags. If it is set to false, this query will be suppressed. Do not set this value to false unless you have a really good reason for doing so 🙂 Default value is true.

  • having_images (bool) If this value is true then only terms that have associated images will be returned. Setting it to false will return all terms. Default value is true.

  • taxonomy (string) Name of a registered taxonomy to return terms from. Multiple taxonomies may be specified by separating each name by a comma. Defaults to category.

  • term_args (array) Arguments to pass to get_terms() as the second parameter. Default value is an empty array.

Here’s an example of a simple custom loop that you can use to display all term images:

$terms = apply_filters( 'taxonomy-images-get-terms', '' );
if ( ! empty( $terms ) ) {
    print '';
}

Support

If you have questions about integrating this plugin into your site, please add a new thread to the WordPress Support Forum. I try to answer these, but I may not always be able to. In the event that I cannot there may be someone else who can help.

Bugs, Suggestions

Development of this plugin is hosted in a public repository on Github. If you find a bug in this plugin or have a suggestion to make it better, please create a new issue

Hook it up yo!

If you have fallen in love with this plugin and would not be able to sleep without helping out in some way, please see the following list of ways that you can hook it up!:

  • Rate it! – Use the star tool on the right-hand sidebar of the plugin homepage.

  • Let me know if it works – Use the Compatibility widget on the plugin homepage to let everyone know that the current version works with your version of WordPress.

  • Do you Twitter? Help promote by using this shortlink: http://bit.ly/taxonomy-images

  • Are you a writer? Help promote by writing an article on your website about this plugin.

Need More Taxonomy Plugins?

The original author of this plugin, Michael Fields, released a handful of plugins dealing with taxonomies. Please see his WordPress.org profile for more information.

DomainExposuresHeadersLast Checked
d*t*m*k.com F Jun 30, 2026
g*i*c*o*.de F Jun 30, 2026
c*y*a*h*h*n*u*.com (WP 5.4.4) A Jun 30, 2026
p*n*m*.com F Jun 30, 2026
p*t*i*i*b*l*n*s.com (WP 6.8.5) F Jun 30, 2026
u*p*h*l*.com (WP 7.0) F Jun 30, 2026
d*s*e*h*n*a*r*n.com F Jun 30, 2026
s*n*t*i*e*u*e.com (WP 7.0) F Jun 30, 2026
p*t*b*i*n*a*e*y.com F Jun 30, 2026
c*o*u*v*y.org (WP 7.0) D Jun 30, 2026
f*d*r*t*o*-*a*t*n*t.fr (WP 6.6.5) F Jun 30, 2026
s*l*c*n.eu F Jun 30, 2026
s*b*n*-*o*g*e*-*a*u*o.fr F Jun 30, 2026
a*t*o*f*r*a*e*s.o*g.uk B Jun 30, 2026
c*n*i*o*a*y*e*o*l*.es (WP 3.5.1) F Jun 30, 2026
m*y*e*o*f*e.de (WP 6.4.3) F Jun 30, 2026
h*a*h*m.vn (WP 5.4.4) A Jun 30, 2026
m*r*n*s*v*y*g*s.re (WP 7.0) F Jun 30, 2026
g*n*r*g*e*s.org F Jun 30, 2026
m*e*o*f*e.com C Jun 30, 2026
m*e*h*c*g*.com C Jun 30, 2026
m*e*a*i*g.com C Jun 30, 2026
d*r*d*e*m*n.com F Jun 30, 2026
d*r*b*e*s*e*.com C Jun 30, 2026
w*i*o*t*.com (WP 7.0) D Jun 30, 2026
s*d*h*p*j*r*.com (WP 5.8.13) F Jun 30, 2026
g*m*n*p*b.com (WP 5.8.1) F Jun 30, 2026
s*n*a*i*n*l*k*n.com F Jun 30, 2026
p*t*l*y*a*s*c*a*e*.com C Jun 30, 2026
p*t*-*-*i*z*.com (WP 5.6.17) F Jun 30, 2026
p*t*u*f*a*t.com D Jun 30, 2026
b*l*-*i*e.com (WP 4.7.12) F Jun 30, 2026
p*l*b*a*h*h*i*l*n*.com (WP 5.8.1) F Jun 30, 2026
p*l*b*a*h*e*o*a*i*n*u*d*.com (WP 5.8.1) F Jun 30, 2026
p*l*b*a*h*a*a*i*e*.com (WP 5.8.1) F Jun 30, 2026
p*l*b*a*h*a*.com (WP 5.8.1) F Jun 30, 2026
p*l*b*a*h*l*u*t*a*e*.com (WP 5.8.1) F Jun 30, 2026
p*l*b*a*h*r*a*a*i*e.com (WP 5.8.1) F Jun 30, 2026
p*l*b*a*h*r*a*.com (WP 5.8.1) F Jun 30, 2026
p*l*b*a*h*e*i*n*a*a*i*e.com (WP 5.8.1) F Jun 30, 2026
p*l*b*a*h*e*i*n*a*.com (WP 5.8.1) F Jun 30, 2026
s*n*r*k*r*s*e*e*l*r*.com F Jun 30, 2026
u*e*n*i*.com F Jun 30, 2026
r*n*o.ca (WP 7.0) F Jun 30, 2026
i*o*o*a.com (WP 7.0) F Jun 30, 2026
p*s*i*c*r*a*m*a*y.com (WP 7.0) F Jun 30, 2026
s*n*i*g*t*o*b*d*u*.com D Jun 30, 2026
w*d*i*g*o*e*e*t*o*i*s.com (WP 7.0) F Jun 30, 2026
d*o*i*-*r*e*t*s*h*t*.com (WP 6.9.4) F Jun 30, 2026
w*l*f*r*r*s*.org F Jun 30, 2026
p*s*a*a*t*y.ca F Jun 30, 2026
s*o*r*o*.es F Jun 30, 2026
p*s*a*a*t*y.com F Jun 30, 2026
m*x*a*e*.tv D Jun 30, 2026
r*s*p*o.es F Jun 30, 2026
u*e*t*e*t*u*k.com F Jun 30, 2026
g*e*k*s*.com F Jun 30, 2026
u*e*f*r*s*r*b*c*e*t*u*k*.com F Jun 30, 2026
u*e*f*r*s*r*b*c*e*t*u*k.com F Jun 30, 2026
m*v*e*a*t*u.com (WP 6.6.2) F Jun 30, 2026
u*e*d*g*e*d*r*i*k.com F Jun 30, 2026
g*e*a*a*i*i*s*i*u*e.com F Jun 30, 2026
u*e*b*b*r*g*s*r*.com F Jun 30, 2026
u*e*a*t*c*r*c*s.com F Jun 30, 2026
l*e*i*s.com (WP 7.0) F Jun 30, 2026
p*r*o*t*e*f.net (WP 6.9) F Jun 30, 2026
b*e*k*h*o*g*a*t*o*a*d*e*e*r*h.org F Jun 30, 2026
d*n*k*l*v.com F Jun 30, 2026
i*i*h*p*u*i*.com D Jun 30, 2026
m*v*m*m*r*i*.com F Jun 30, 2026
t*e*r*d*e*n*i*e.net F Jun 30, 2026
e*r*f*n*t*r.at F Jun 30, 2026
q*e*n.c*m.au F Jun 30, 2026
v*l*g*l.com A Jun 30, 2026
w*d*i*g*e*u*s*n*c*t*a*d.c*.uk (WP 7.0) F Jun 30, 2026
p*s*a*e*o*t*n*o*.com (WP 5.1.22) F Jun 30, 2026
d*m*r*o*i*e*a.com C Jun 30, 2026
d*m*r*o*c*s*e*i*s*r*e*y.com C Jun 30, 2026
s*m*y*t*s*o*e*.com F Jun 30, 2026
n*v*i*i*d*a.com F Jun 30, 2026
d*m*m*s*a*i*a*.com C Jun 30, 2026
j*h*h*t*.com C Jun 30, 2026
f*c*f*r*u*d*n.se (WP 5.7.15) F Jun 30, 2026
f*l*u*e*d*l*i*l*s*r*t*d.com (WP 5.8.1) F Jun 30, 2026
v*l*u*e*g*a*h*c*.com (WP 6.3.8) F Jun 30, 2026
d*k*n*e*h*u*h*s*b*.com C Jun 30, 2026
d*k*n*e*h*u*h*s.com F Jun 30, 2026
g*s*f*.pl F Jun 30, 2026
m*u*i*r*t*.com F Jun 30, 2026
q*e*t*n*.org D Jun 30, 2026
m*u*i*-*o*y.com F Jun 30, 2026
p*r*o*t*e*i*a*l*.com (WP 6.9.4) F Jun 30, 2026
b*h*s*i*e*i*e*i*d*e*l*r*2.com (WP 6.0.12) F Jun 30, 2026
c*s*a*d*e*n*d*r.com (WP 7.0) F Jun 30, 2026
w*d*i*g*i*l*s*r*t*d.net (WP 5.8.1) F Jun 30, 2026
g*i*u*r*i*e.com F Jun 30, 2026
v*c*e*i*a*.com (WP 5.4.4) A Jun 30, 2026
t*e*e*g*t*b*o*k*a*d*.c*.uk F Jun 30, 2026
v*l*e*g*r*r*n*t.de (WP 6.8.3) F Jun 30, 2026
d*n*e*f*n*a.pl (WP 7.0) F Jun 30, 2026

Top 50 Plugins

Plugin Count
elementor 1,769,947
contact-form-7 1,751,151
elementor-pro 1,052,329
woocommerce 816,084
revslider 608,676
jetpack 454,679
js_composer 419,902
wp-rocket 342,079
essential-addons-for-elementor-lite 264,695
gravityforms 257,300
complianz-gdpr 257,186
google-site-kit 232,602
cookie-law-info 228,240
instagram-feed 224,724
sitepress-multilingual-cms 210,596
header-footer-elementor 206,656
google-analytics-for-wordpress 205,675
bluehost-wordpress-plugin 192,331
elementskit-lite 180,017
gutenberg 167,120
cookie-notice 148,816
litespeed-cache 143,825
gtranslate 124,781
wpforms-lite 123,738
the-events-calendar 122,341
astra-sites 113,144
popup-maker 109,698
woocommerce-payments 109,299
gutenberg-core 103,141
tablepress 102,135
honeypot 97,728
astra-addon 93,740
wp-smushit 90,814
duracelltomi-google-tag-manager 90,306
layerslider 89,283
all-in-one-seo-pack 89,071
bb-plugin 86,901
coblocks 86,693
akismet 84,979
premium-addons-for-elementor 84,367
cleantalk-spam-protect 82,573
ml-slider 81,991
mailchimp-for-wp 81,773
megamenu 80,196
woocommerce-gateway-stripe 79,441
jet-engine 77,892
fusion-builder 77,057
ewww-image-optimizer 76,627
wp-pagenavi 76,457
smart-slider-3 76,121

Top 50 Themes

Theme Count
hello-elementor 620,749
Divi 496,071
astra 413,940
flatsome 138,152
Avada 120,987
generatepress 114,820
oceanwp 80,309
kadence 78,841
pub 72,283
enfold 68,738
salient 65,153
twentyseventeen 54,318
bb-theme 53,400
betheme 52,414
twentytwentyfour 52,234
blocksy 50,827
cocoon-master 49,206
dt-the7 45,445
twentytwentyfive 44,937
woodmart 43,254
neve 38,122
Avada-Child-Theme 36,904
gox 36,229
h4 36,037
bridge 31,326
twentytwentyone 30,291
lightning 29,946
twentytwenty 28,762
swell 27,969
bricks 26,481
Impreza 26,076
Newspaper 24,176
twentytwentythree 22,095
epik-redesign 19,143
twentytwentytwo 18,767
uncode 18,501
pro 17,626
twentysixteen 17,602
sydney 16,502
storefront 16,314
Total 14,390
hello-theme-child-master 14,021
factory-templates-4 13,731
themify-ultra 12,948
extendable 12,765
hestia 12,582
yootheme 12,515
yith-wonder 12,108
porto 11,949
twentyfifteen 11,874