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

Plugin: taxonomy-images (Used by 2,699 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
k*d*i*y*e*o*d.com โœ… B 2026-04-17 02:24:23
s*o*o*n*s*i*m*.com (WP 6.6.5) โœ… F 2026-04-17 02:22:08
a*n*m*k*n*u*.com (WP 6.0.11) โš ๏ธ F 2026-04-17 00:30:39
h*i*a*i*t*a*.com (WP 5.8.4) โš ๏ธ A 2026-04-16 23:51:47
b*i*n*a*u*r*z.com (WP 6.2.9) โš ๏ธ F 2026-04-16 23:37:31
o*l*a*t*s.com (WP 6.9.4) โœ… F 2026-04-16 22:26:23
h*i*h*s*r*o*l*n*s.com โœ… F 2026-04-16 21:57:32
a*e.com.vn (WP 6.7.2) โœ… F 2026-04-16 20:53:32
b*e*s*e*m*.com โœ… C 2026-04-16 20:48:23
o*i*y*t*c*l*.com โœ… F 2026-04-16 20:28:00
o*i*y*o*l*n*.com โœ… F 2026-04-16 20:28:00
o*i*y*.com โœ… F 2026-04-16 20:28:00
r*l*g*o*l*n*.com (WP 5.2.21) โš ๏ธ F 2026-04-16 19:59:04
r*l*a*c*f*a.com (WP 6.9.4) โœ… F 2026-04-16 19:11:00
s*o*d*g*r*.com โœ… D 2026-04-16 18:49:33
f*c*a*p*a*t*c*u*g*r*m*x*c*.com โœ… C 2026-04-16 18:18:41
t*a*e*s*i*h*t*r*h*p.com โœ… F 2026-04-16 18:03:18
z*e*a*s*i*r*s.com (WP 6.9.4) โœ… F 2026-04-16 16:10:15
t*a*e*m*r*e*i*g*o*l*c*i*e.com (WP 6.9.4) โœ… D 2026-04-16 15:30:29
z*a*a*a*i*e*a*i*.com (WP 6.8.3) ๐Ÿ“„ F 2026-04-16 13:19:07
b*a*i*.com โœ… F 2026-04-16 12:14:15
b*a*e*i*m*d*p*.com โœ… F 2026-04-16 12:10:08
c*s*s.md โœ… F 2026-04-16 11:14:33
m*v*r*c*.com (WP 4.6.1) โš ๏ธ F 2026-04-16 10:16:02
d*a*l*-*a*k*e.com โœ… F 2026-04-16 10:00:32
d*-*a*t.com (WP 6.9.4) โœ… F 2026-04-16 09:21:57
r*h*b*t*l*c*s.com โœ… F 2026-04-16 09:08:21
s*i*o*e*r*z*u*o*s*y.com (WP 5.0.25) โš ๏ธ F 2026-04-16 08:28:15
d*s*b*a.com โœ… F 2026-04-16 08:26:36
r*h*m*t.com (WP 6.0.2) โš ๏ธ F 2026-04-16 07:57:39
l*o*.snuep.fr (WP 6.8.5) โœ… F 2026-04-16 07:27:51
r*i*s.snuep.fr (WP 6.9.4) โœ… F 2026-04-16 07:27:51
a*g*h*n*s*a*i*n.com (WP 6.3.8) โš ๏ธ F 2026-04-16 07:17:22
h*a*t*y*i*i*g*a*k*t.com โœ… F 2026-04-16 07:00:17
f*a*p*k*0*0.com (WP 6.8.5) โœ… F 2026-04-16 06:59:44
s*i*u*.com (WP 5.6.17) โš ๏ธ F 2026-04-16 06:44:17
e*e*t*s.com โœ… F 2026-04-16 06:00:52
e*b*o*c*r.com โœ… F 2026-04-16 05:20:14
k*t*l*n*a*e*e*u*a*i*n.com (WP 6.9.4) โœ… B 2026-04-16 04:54:41
k*t*l*n*a*e*b*o*.com (WP 6.9.1) โœ… B 2026-04-16 04:54:41
k*t*l*n*a*e*.com (WP 6.9.1) โœ… B 2026-04-16 04:54:41
k*t*l*g*l*b*r*.com (WP 6.4.8) โš ๏ธ F 2026-04-16 04:51:15
a*g*l*c*n*t*r*l*e*l*h.com โœ… B 2026-04-16 03:08:22
d*u*i*e*s.com (WP 5.8.1) โš ๏ธ F 2026-04-16 02:56:02
m*t*h*b*l.com (WP 6.8.5) โœ… F 2026-04-16 02:48:07
k*s*a*a*n*.com โœ… F 2026-04-16 01:52:25
a*g*l*f*i*h*.com (WP 6.9.4) โœ… F 2026-04-16 00:31:43
m*t*u*e*r*p*.com (WP 6.8.3) โœ… F 2026-04-15 23:54:35
h*a*t*f*l*y*o*.com (WP 6.8.5) โœ… B 2026-04-15 23:40:03
b*a*b*e*o*d*o*c*.com (WP 5.3.21) โš ๏ธ F 2026-04-15 23:00:07
m*t*i*b*y*e*l.com โœ… A 2026-04-15 22:37:44
m*t*i*-*a*i*e*.com โœ… F 2026-04-15 22:34:33
e*s*e*r*p*.com (WP 6.9.4) โœ… F 2026-04-15 21:17:16
s*e*k*h*l*n*u*g*o*f*n*n*e.com โœ… F 2026-04-15 21:11:10
a*d*o*s*r*i*e.com โœ… F 2026-04-15 20:25:52
b*a*m*n*a*a*r*j*s*h*n.com (WP 4.9.22) โš ๏ธ F 2026-04-15 20:18:33
g*e*n*e*d*n*s*o*s.com (WP 6.9.4) โœ… F 2026-04-15 20:15:04
c*n*e*t.altec.com โœ… F 2026-04-15 19:31:51
o*f*c*a*t*o*i*y*r*u*.com (WP 5.8.12) โš ๏ธ F 2026-04-15 19:26:02
k*r*e*a*-*n*i*e*r*n*.com (WP 6.9.4) โœ… F 2026-04-15 18:51:35
r*d*r*c*c*e.com (WP 6.9.4) โœ… C 2026-04-15 18:18:25
r*d*r*.com (WP 6.9.4) โœ… C 2026-04-15 18:18:25
o*f*b*y.com (WP 6.9.4) โœ… F 2026-04-15 18:10:55
r*d*u*i*p*r*s.com (WP 6.9.4) โœ… F 2026-04-15 17:57:28
t*a*e*y*o*r*t*.com (WP 6.8.5) โœ… F 2026-04-15 16:37:28
d*v*d*a*g*r*f*.com (WP 5.2.21) โš ๏ธ F 2026-04-15 16:37:17
m*t*n*r*b*r*s.com (WP 6.9.4) โœ… F 2026-04-15 15:41:30
d*v*d*e*l*n*.com (WP 6.9.4) โœ… F 2026-04-15 15:34:46
t*a*i*g*f*r*x*o*l*n*.com (WP 5.8.2) โš ๏ธ F 2026-04-15 14:14:54
b*y*l*g*t*n*.com โœ… F 2026-04-15 14:01:39
s*a*n.com โœ… F 2026-04-15 13:42:01
e*p*r*-*c.com (WP 5.1.22) โš ๏ธ F 2026-04-15 12:08:51
l*n*.swflrelocationguide.com (WP 5.8.1) โš ๏ธ F 2026-04-15 11:54:44
e*p*r*e*c*l*u*e*s*r*n*s.com โœ… F 2026-04-15 11:23:28
z*x*o*.com โœ… F 2026-04-15 11:21:04
z*v*d*r*i.com (WP 5.2.24) โš ๏ธ F 2026-04-15 11:08:08
s*a*e*a*g*l.com (WP 6.9.4) โœ… F 2026-04-15 10:56:06
b*v*a*g*y*n*a*.com โœ… A 2026-04-15 10:44:46
g*h*i*h*n*.com (WP 4.9.8) โš ๏ธ A 2026-04-15 10:30:11
o*-*a*i*g.com โœ… F 2026-04-15 09:58:40
t*c*b*l*.com.au (WP 6.9.4) โœ… F 2026-04-15 09:42:02
m*s*l*w*e*s*e*k*y.com โœ… B 2026-04-15 09:20:11
m*s*l*w.com โœ… B 2026-04-15 09:20:11
a*c*e*i*i*a*.com (WP 5.7.15) โš ๏ธ C 2026-04-15 09:19:36
e*p*n*o*.com (WP 6.9.4) โœ… F 2026-04-15 09:19:24
a*c*n*t*.com โœ… F 2026-04-15 09:12:59
b*u*g*o*s*l*s*i*s*r*e*y.com โœ… F 2026-04-15 08:49:03
o*s*n*e*g*i*l*.com โœ… F 2026-04-15 08:15:21
o*p.com โœ… D 2026-04-15 07:52:48
a*c*s*r*s*t*l*a*o*.com (WP 6.9.4) โœ… F 2026-04-15 07:40:34
s*u*h*r*t*a*g*.com โœ… D 2026-04-15 06:17:19
e*h*b*t*n*w*b*s*o*.com โœ… B 2026-04-15 06:10:41
h*w*c*o*.com (WP 6.9.4) โœ… F 2026-04-15 05:24:33
o*e*n*i*e*l*c*s*i*h.com โœ… F 2026-04-15 05:10:37
o*e*n*i*e*l*c*s.com โœ… F 2026-04-15 05:10:37
c*m*u*p*o*r*s*.org โœ… F 2026-04-15 04:10:40
r*c*p*b*y.com ๐Ÿ”“ B 2026-04-15 03:29:58
h*u*e*e*u*y*e*t*e*i*s.com โœ… F 2026-04-15 02:42:59
o*b*e*k*r*.com โœ… F 2026-04-15 02:14:04
d*s*u*i*s.com โœ… F 2026-04-15 01:49:37

Top 50 Plugins

Plugin Count
elementor 2,368,660
contact-form-7 2,165,742
elementor-pro 1,339,282
woocommerce 1,106,703
revslider 804,310
js_composer 530,877
jetpack 484,639
wp-rocket 389,835
essential-addons-for-elementor-lite 359,758
header-footer-elementor 302,272
gravityforms 287,280
gutenberg-core 285,037
elementskit-lite 282,099
instagram-feed 275,782
google-analytics-for-wordpress 272,178
complianz-gdpr 270,429
google-site-kit 265,816
cookie-law-info 263,112
sitepress-multilingual-cms 237,355
bluehost-wordpress-plugin 222,062
wpforms-lite 208,504
astra-sites 200,980
litespeed-cache 184,041
gutenberg 161,055
gtranslate 160,356
cookie-notice 154,723
coblocks 151,046
the-events-calendar 138,588
popup-maker 130,621
astra-addon 117,526
bb-plugin 116,893
premium-addons-for-elementor 115,563
LayerSlider 114,529
wp-smushit 112,870
mailchimp-for-wp 112,465
tablepress 112,043
duracelltomi-google-tag-manager 102,991
creame-whatsapp-me 101,138
woocommerce-gateway-stripe 99,458
cleantalk-spam-protect 99,356
akismet 98,244
honeypot 97,491
pro-elements 96,302
custom-fonts 95,998
megamenu 95,219
click-to-chat-for-whatsapp 94,671
smart-slider-3 94,485
fusion-builder 93,566
woocommerce-payments 93,551
pixelyoursite 91,524

Top 50 Themes

Theme Count
hello-elementor 769,644
Divi 635,348
astra 614,047
pub 191,746
generatepress 144,742
flatsome 144,379
Avada 142,802
h4 112,219
oceanwp 105,657
kadence 94,582
enfold 82,321
salient 79,395
bb-theme 73,914
twentytwentyfour 71,880
blocksy 68,513
cocoon-master 66,956
twentytwentyfive 66,128
betheme 64,393
twentyseventeen 64,315
dt-the7 53,473
woodmart 50,720
neve 46,795
twentytwentyone 40,531
bridge 39,831
Avada-Child-Theme 38,321
gox 35,982
swell 35,730
twentytwenty 35,365
lightning 35,050
twentytwentythree 32,983
bricks 28,895
Impreza 28,845
Newspaper 26,260
twentytwentytwo 25,826
epik-redesign 22,776
pro 21,533
storefront 21,429
extendable 21,361
uncode 21,205
twentysixteen 20,923
yith-wonder 19,625
sydney 19,495
themify-ultra 18,258
Total 17,405
twentyfifteen 16,409
porto 15,712
hestia 15,361
yootheme 14,498
thrive-theme 14,418
twentynineteen 14,414