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

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

Taxonomy Images

👤 Ben Huson 📦 v1.0 🔗 Plugin Homepage

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
b*e*e.com D 2026-04-26 23:47:43
p*a*i*g*i*h.us (WP 6.6.2) F 2026-04-26 23:28:15
s*c*r*l*s*.com.br C 2026-04-26 22:58:24
d*u*e.de (WP 6.9.4) F 2026-04-26 22:41:44
l*n*.stuartmagazine.com (WP 5.8.1) ⚠️ F 2026-04-26 22:39:31
g*a*d*e*i*n*m*g*z*n*.com F 2026-04-26 22:22:10
m*u*t*i*g*m*h*.com F 2026-04-26 22:15:07
f*u*d*o*e*w*r*d*n*i*e.com D 2026-04-26 22:01:08
f*u*d*o*e*w*r*d.com D 2026-04-26 22:01:08
s*i*n*e.iirs.gov.in (WP 6.9.4) F 2026-04-26 21:54:51
g*a*d*a*g*i*b*o*.com (WP 5.8.1) ⚠️ F 2026-04-26 21:49:24
g*e*n*w*y*r*h*t*c*u*e.co.uk F 2026-04-26 21:48:51
b*b*l*o*i*a*c*a*e.com (WP 6.9.4) F 2026-04-26 21:37:03
s*r*s*m*d*a.net F 2026-04-26 21:21:04
v*x*o*l*c*i*n.com (WP 5.2.21) ⚠️ F 2026-04-26 21:17:39
v*x*c*l*e*t*o*.com (WP 5.2.21) ⚠️ F 2026-04-26 21:11:57
m*c*i*a*w*n*c*u*t*y.com (WP 5.8.1) ⚠️ F 2026-04-26 20:13:53
m*c*i*a*o*u*o*a*i*l*p*c*a*i*t*.com C 2026-04-26 19:57:53
k*m.org.au D 2026-04-26 19:44:25
t*e*u*i*n*r*a*o*s.com (WP 5.4.19) ⚠️ F 2026-04-26 19:33:43
r*y*l*i*d*w*o*r.com F 2026-04-26 19:30:47
r*s*e*t.international (WP 6.7.5) F 2026-04-26 19:20:05
t*e*r*k*o*s*h*t*.com F 2026-04-26 18:41:57
m*c*e*l*s*g*r*w*s*.com F 2026-04-26 18:38:43
m*c*e*l*s*g*r*.com F 2026-04-26 18:36:25
p*t*h*n*k*e*c*.com A 2026-04-26 18:35:25
a*o*e*e*g*.com F 2026-04-26 18:09:17
l*n*.jupitermag.com (WP 5.8.1) ⚠️ F 2026-04-26 17:43:59
a*b*w*n*o*s.lv F 2026-04-26 17:20:35
g*b*z*a*a*i*e.com (WP 5.8.1) ⚠️ F 2026-04-26 16:55:23
w*u*s.ac.in A 2026-04-26 16:32:05
l*a*n*n*b*i*d.in (WP 6.4.2) ⚠️ F 2026-04-26 16:24:23
d*s*r*b*i*.com (WP 6.9.4) F 2026-04-26 16:17:54
i*f*r*n*a*.com 🔓 D 2026-04-26 16:16:03
r*y*l*o*c*.com (WP 6.9) F 2026-04-26 15:22:25
b*v*r*y*i*l*u*o*y*.com F 2026-04-26 14:51:26
b*v*r*y*i*l*f*c*s*r*e*n.com D 2026-04-26 14:44:55
w*i*e*a*e*.silicon.de F 2026-04-26 14:44:46
l*n*.hourdetroit.com (WP 5.8.1) ⚠️ F 2026-04-26 14:30:16
p*z*g*r*.com (WP 6.9.4) F 2026-04-26 14:29:20
b*i*g*w*t*r*i*e.com (WP 5.1.19) ⚠️ F 2026-04-26 14:27:38
p*t*r*u*l*r.com F 2026-04-26 14:13:02
f*o*i*a*u*u*y*o*e*g*i*e.com (WP 5.8.1) ⚠️ F 2026-04-26 13:23:34
w*l*b*i*g*s*v*r*.com F 2026-04-26 13:15:29
v*l*a*i*a*b*l.com (WP 6.8.5) F 2026-04-26 13:13:57
c*n*m*o*i*i*e*.com (WP 6.9.4) 🔓 F 2026-04-26 13:05:47
f*o*i*a*l*u*t*a*e*m*g.com (WP 5.8.1) ⚠️ F 2026-04-26 13:02:11
m*h*m*e*f*t*.com A 2026-04-26 12:48:22
p*c*o*a.com F 2026-04-26 12:44:46
f*o*i*a*e*i*n*a*p*.com (WP 5.8.1) ⚠️ F 2026-04-26 12:31:46
f*o*i*a*e*i*n*t*r*.com (WP 5.8.1) ⚠️ F 2026-04-26 12:31:46
f*o*i*a*e*i*n*o*r*e*i*d*r.com (WP 5.8.1) ⚠️ F 2026-04-26 12:31:46
f*o*i*a*e*i*n*o*r*e*o*k.com (WP 5.8.1) ⚠️ F 2026-04-26 12:31:45
f*o*i*a*e*i*n*a*l*s*d*t*o*.com (WP 5.8.1) ⚠️ F 2026-04-26 12:31:45
f*o*i*a*e*i*n*i*m*h*m*s*n*d*c*r.com (WP 5.8.1) ⚠️ F 2026-04-26 12:31:45
f*o*i*a*e*i*n*a*a*i*e.com (WP 5.8.1) ⚠️ F 2026-04-26 12:31:45
f*o*i*a*e*i*n.com (WP 5.8.1) ⚠️ F 2026-04-26 12:31:45
i*t*h*f.fr (WP 6.9.4) D 2026-04-26 11:43:57
m*n*t*n*l*d.co.il (WP 6.8.2) F 2026-04-26 11:32:21
m*g*o*i*e*e*t*i*.net (WP 5.6.17) ⚠️ F 2026-04-26 11:06:16
w*l*o*e*n*i*.com F 2026-04-26 11:02:49
g*m*g.com (WP 5.8.1) ⚠️ F 2026-04-26 10:48:56
w*l*o*e*w*a*c*m.com D 2026-04-26 10:40:20
a*l*n*a*a*a*i*e.com (WP 5.8.1) ⚠️ F 2026-04-26 10:35:39
l*x*r*l*f*t*u*.com (WP 5.8.1) ⚠️ F 2026-04-26 10:22:36
g*i*c*o*.com F 2026-04-26 09:27:22
g*i*c*o*-*o*u*b*s.com F 2026-04-26 09:27:22
g*i*c*o*-*o*u*b*s.com F 2026-04-26 09:27:22
w*i*e*c*r*b*e*n*e*.com (WP 6.2) ⚠️ A 2026-04-26 08:37:19
d*s*o*e*o*e*t.com F 2026-04-26 08:30:07
w*i*h*o*t*.com 🔓 F 2026-04-26 07:48:46
i*h*e*t.com (WP 5.3.21) ⚠️ F 2026-04-26 07:48:13
g*i*l*e*t*v*l.com (WP 5.8.1) ⚠️ F 2026-04-26 07:36:20
l*x*e*e*o.com (WP 5.8) ⚠️ F 2026-04-26 07:16:42
m*d*s*a*c*i*e*t*r*.com (WP 4.7.33) ⚠️ F 2026-04-26 07:11:40
p*c*t*a*t*c.com F 2026-04-26 06:34:31
t*m*l*t*.net F 2026-04-26 06:29:10
r*t*o*r*h*i.com (WP 6.2.9) ⚠️ F 2026-04-26 06:22:51
m*d*a.arudin.com F 2026-04-26 06:19:37
p*b*o*a*n*z.com (WP 6.8.5) F 2026-04-26 05:33:06
l*t*i*e.org.il D 2026-04-26 05:22:01
r*t*r*s*s*e*s.com F 2026-04-26 04:41:32
d*s*o*r*s*n*s.com F 2026-04-26 04:23:05
d*s*o*s*l.com (WP 5.8.13) ⚠️ F 2026-04-26 04:16:33
w*e*l*e*.com F 2026-04-26 04:12:55
l*a*n.patrimore.com F 2026-04-26 03:53:25
m*d*r*p*o*e*s*q*i*m*n*.com C 2026-04-26 03:06:43
r*s*o*g.com A 2026-04-26 03:00:39
t*s*i*u*a*i*o*g*m*n*r*.it (WP 5.6.13) ⚠️ F 2026-04-26 02:51:42
w*d*i*g*i*e*a*d.com (WP 3.9.1) ⚠️ F 2026-04-26 02:05:39
r*s*g*e*p*r.com F 2026-04-26 02:00:00
g*e*o*y*o*e*.com (WP 6.0.11) ⚠️ F 2026-04-26 01:39:15
c*m*u*p*o*r*s*n*t*o*k.com F 2026-04-26 01:19:47
c*m*u*p*o*r*s*.com F 2026-04-26 01:19:46
g*e*o*r*a*r*.com (WP 6.9.4) F 2026-04-26 01:14:55
c*m*u*-*e*d*n*.com F 2026-04-26 00:54:50
s*a*-*r*.ru (WP 6.6.5) F 2026-04-26 00:11:41
i*m*r*.com (WP 6.8.5) F 2026-04-26 00:10:42
s*e.sh F 2026-04-25 23:41:02
d*n*s*n.vn F 2026-04-25 23:14:51

Top 50 Plugins

Plugin Count
elementor 2,445,231
contact-form-7 2,220,648
elementor-pro 1,379,303
woocommerce 1,143,781
revslider 827,215
js_composer 544,092
jetpack 487,323
wp-rocket 398,176
essential-addons-for-elementor-lite 370,785
header-footer-elementor 313,894
gutenberg-core 296,525
elementskit-lite 293,768
gravityforms 290,665
instagram-feed 283,026
google-analytics-for-wordpress 279,675
complianz-gdpr 275,213
google-site-kit 272,661
cookie-law-info 268,923
sitepress-multilingual-cms 240,854
bluehost-wordpress-plugin 225,598
wpforms-lite 217,902
astra-sites 210,379
litespeed-cache 192,054
gtranslate 165,117
gutenberg 161,373
cookie-notice 157,748
coblocks 155,492
the-events-calendar 140,489
popup-maker 132,457
astra-addon 120,870
bb-plugin 119,992
premium-addons-for-elementor 119,619
LayerSlider 117,351
mailchimp-for-wp 116,139
wp-smushit 115,765
tablepress 113,804
creame-whatsapp-me 105,288
duracelltomi-google-tag-manager 104,768
woocommerce-gateway-stripe 101,920
cleantalk-spam-protect 101,079
pro-elements 100,842
custom-fonts 100,795
akismet 99,711
click-to-chat-for-whatsapp 98,839
honeypot 98,360
smart-slider-3 96,900
megamenu 96,800
fusion-builder 95,419
pixelyoursite 94,312
formidable 91,967

Top 50 Themes

Theme Count
hello-elementor 791,754
Divi 651,874
astra 638,423
pub 198,997
generatepress 148,539
flatsome 148,049
Avada 145,070
h4 118,235
oceanwp 108,498
kadence 96,892
enfold 84,042
salient 81,017
bb-theme 76,055
twentytwentyfour 74,028
blocksy 70,940
twentytwentyfive 69,005
cocoon-master 68,877
betheme 66,038
twentyseventeen 65,444
dt-the7 54,654
woodmart 52,853
neve 47,768
twentytwentyone 41,438
bridge 40,735
Avada-Child-Theme 38,554
swell 36,756
gox 36,222
twentytwenty 36,033
lightning 35,692
twentytwentythree 33,905
bricks 29,400
Impreza 29,371
Newspaper 26,799
twentytwentytwo 26,445
epik-redesign 23,066
pro 21,916
storefront 21,852
extendable 21,847
uncode 21,553
twentysixteen 21,239
yith-wonder 20,232
sydney 19,913
themify-ultra 18,862
Total 17,795
twentyfifteen 16,937
porto 16,182
hestia 15,701
yootheme 14,811
thrive-theme 14,743
twentynineteen 14,661