🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Taxonomy Images icon
Peut-être abandonné Testé jusqu'à 6.4.15 #11 in category

Taxonomy Images

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.

Installations actives8K+Niveau 5K+
Téléchargements · 30D1.6K▲ +18,4 % vs prév. 30j
Évaluation4.4/540 avis
Score de santé43/100Juste
Téléchargements de tous les temps226.8KDepuis février 2010
Support résolu—Aucun fil de discussion récent
A besoin deWP 4.4PHP 5.3+
Téléchargements · 7j363▲ +11.7% week over week
Notre verdict

Utiliser avec prudence

Taxonomy Images works, but test it on a staging site before relying on it in 2026. It runs on 8K+ sites, is rated 4.4/5 and was last updated 3 years ago, and scores 43/100 on our health check.

  • Momentum — downloads up 18.4% vs the previous 30 days
  • Pas de mise à jour dans 2 ans
  • Uniquement testé jusqu'à WordPress 6,4 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

295887Sep 5Oct 19Dec 3
Hier51
Moyenne quotidienne (1 ans)35
Jour de pointe11629 Septembre 2026
12 Derniers mois12.7K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Taxonomy Images stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
catégorie >100 10,000 Les meilleurs plugins de catégorie →
image >100 10,000 Les meilleurs plugins d'images →
tag >100 10,000 Best tag plugins →
taxonomie >100 4,942 Meilleurs plugins de taxonomie →
term >100 10,000 Best term plugins →

Adoption de version

Part de sites actifs par version.

  • 1.080.9%
  • 0.915.0%
  • Autres4.1%

Répartition des notes

★★★★★★★★★★ 4.4 from 40 reviews

  • 5★70.0%
  • 4★12.5%
  • 3★10.0%
  • 2★2.5%
  • 1★5.0%

About Taxonomy Images

À partir du Lisezmoi officiel · v1.0

Description

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'     => '<div id="my-custom-div">',
    'after'      => '</div>',
    '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'       => '<div class="my-custom-class-name">',
    'after'        => '</div>',
    'before_image' => '<span>',
    'after_image'  => '</span>',
    '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 '<ul>';
    foreach ( (array) $terms as $term ) {
        print '<li><a href="' . esc_url( get_term_link( $term, $term->taxonomy ) ) . '">' . wp_get_attachment_image( $term->image_id, 'detail' ) . '</a></li>';
    }
    print '</ul>';
}

Soutien

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.

Installation

  1. Télécharger
  2. Unzip the package and upload to your /wp-content/plugins/ directory.
  3. Log into WordPress and navigate to the “Plugins” panel.
  4. Activez le plugin.
  5. Click the “Taxonomy Images” link under the Settings section in the admin menu. There you can select the taxonomies that you would like to add image support for.

Journal de modifications

Fixed full image size sometimes not being returned. Prepare plugin structure for term meta compatibility.

Inédit

1.0

  • BUGFIX: Fixed full image size sometimes not being returned.
  • UPDATE: Control, blank and default images moves to images folder.
  • UPDATE: Prepare plugin structure for term meta compatibility.

0.9.7

  • UPDATE: Remove use of deprecated image_resize function.
  • UPDATE: Bump minimum WordPress version to 3.5.

0.9.6

  • BUGFIX: Fix issue where if no terms have images but ‘having_images’ is false, nothing would be returned (props Matt).

0.9.5

  • BUGFIX: Fix loading of admin stylesheet when editing terms in WordPress 4.5

0.9.4

  • BUGFIX: Fix for taxonomy names that may contain characters other than lowercase and underscores (e.g. uppercase).

Journal des modifications complet sur WordPress.org →

Captures d'écran

Edit terms admin page.
Edit terms admin page.
Edit term admin page.
Edit term admin page.
Media Modal
Media Modal

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Taxonomy Images alternatives

All category plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Pages avec catégorie et balise Pages avec catégorie et balise Ajoutez des catégories et des balises aux pages. par Yahman 50K+ ★★★★★★★★★★ 4.8 (28) il y a 6 jours 79
2 Rechercher et filtrer Rechercher et filtrer Recherche et filtrage de publications personnalisées, de catégories, de balises, de taxonomies, de dates de publication et de publication… par ampli de code 40K+ ★★★★★★★★★★ 4.5 (175) Il y a 3 mois 68
3 PublishPress Taxonomie – Tag, catégorie et taxonomie – Autotagger Ajouter automatiquement des termes Publier des taxonomies de presse Les balises, les catégories et les termes WordPress sont faciles avec les taxonomies PublishPress. Ajoutez une balise ou… par Publishippress 40K+ ★★★★★★★★★★ 4.6 (195) Il ya 3 jours 93
4 Catégories de médiathèques Catégories de médiathèques Ajoute la possibilité d'utiliser des catégories dans la bibliothèque multimédia. Par Jeffrey-WP 20K+ ★★★★★★★★★★ 4.2 (52) Il y a 3 mois 65
5 Ajouter une catégorie aux pages Ajouter une catégorie aux pages Ajoutez facilement une catégorie de publication aux pages WordPress par A.Ankit 10K+ ★★★★★★★★★★ 4.7 (30) Il y a 7 ans 46
6 Term Management Tools Term Management Tools Allows you to merge terms, move terms between taxonomies, and set term parents… par Scribu 10K+ ★★★★★★★★★★ 4.9 (76) il y a 12 mois 51
7 WP sans base de permalien WP sans base de permalien Supprime la base de catégories ou les catégories de parents ou la base de balises de vos liens permanents. Compatible… par Sergio 10K+ ★★★★★★★★★★ 4.1 (16) Il y a 7 ans 38
8 Adjust Admin Categories Adjust Admin Categories Installing this plugin allows you to adjust the behavior of the area below the posts screen… de Masahiro Nakashima 10K+ ★★★★★★★★★★ 5 (4) Il y a 4 ans 37
9 Parent Category Toggler Parent Category Toggler Automatically toggle the parent categories when a sub category is selected. de Ben Lobaugh (Blobaugh) 10K+ ★★★★★★★★★★ 4.8 (15) il y a 9 ans 41
10 Répertorier le widget de taxonomie personnalisée Répertorier le widget de taxonomie personnalisée Le widget Liste Taxonomie personnalisée est un moyen simple et rapide d'afficher des taxonomies personnalisées… de Nick Halsey 8K+ ★★★★★★★★★★ 4.7 (21) il y a 5 mois 77

FAQ

Taxonomy Images: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Taxonomy Images free?

Yes. Taxonomy Images is free to download and use from the official WordPress.org plugin directory.

Is Taxonomy Images safe to use in 2026?

Taxonomy Images works, but test it on a staging site before relying on it in 2026. It runs on 8K+ sites, is rated 4.4/5 and was last updated 3 years ago, and scores 43/100 on our health check.

How many websites use Taxonomy Images?

Taxonomy Images is active on 8K+ WordPress websites and has been downloaded 226,812 times since it launched in February 2010. It was downloaded 1,559 times in the last 30 days.

Does Taxonomy Images work with WordPress 7.1?

Taxonomy Images is officially tested up to WordPress 6.4.15, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Taxonomy Images need?

Taxonomy Images requires PHP 5.3 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Taxonomy Images last updated?

The latest version, 1.0, was released on February 15, 2024 (3 years ago).

Who makes Taxonomy Images?

Taxonomy Images is developed and maintained by Ben Huson.

What are the best alternatives to Taxonomy Images?

The most popular alternatives to Taxonomy Images are Pages with category and tag (50K+ installs), Search & Filter (40K+ installs) and PublishPress Taxonomies (40K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir