Skip to content
WordPress.org

Norsk (Nynorsk)

  • Bunader
  • Innstikk
  • News
  • Om
  • Bidra til nynorskomsetjinga
  • Remembers
  • Blocks
  • Kontakt oss
  • Education
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

WP Term Images

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

WP Term Images

Av John James Jacoby
Last ned
  • Detaljar
  • Omtalar
  • Installasjon
  • Utvikling
Hjelp

Skildring

Images for categories, tags, and other taxonomy terms

WP Term Images allows users to assign images to any visible category, tag, or taxonomy term using the media library, providing a customized look for their taxonomies.

Dependencies

Not since WordPress 4.4.

Install the WP Term Meta plugin if you’re on an earlier version.

Also checkout

  • WP Chosen
  • WP Pretty Filters
  • WP Media Categories
  • WP Term Order
  • WP Term Authors
  • WP Term Colors
  • WP Term Icons
  • WP Term Visibility
  • WP User Activity
  • WP User Avatars
  • WP User Groups
  • WP User Profiles

Skjermbilete

  • Category Images

Installasjon

  • Download and install using the built in WordPress plugin installer.
  • Activate in the «Plugins» area of your admin by clicking the «Activate» link.
  • No further setup or configuration is necessary.

Vanlege spm.

Does this create new database tables?

No. There are no new database tables with this plugin.

Does this modify existing database tables?

No. All of WordPress’s core database tables remain untouched.

How do I get the image for a term?

With WordPress’s get_term_meta() function

// image id is stored as term meta
$image_id = get_term_meta( 7, 'image', true );

// image data stored in array, second argument is which image size to retrieve
$image_data = wp_get_attachment_image_src( $image_id, 'full' );

// image url is the first item in the array (aka 0)
$image = $image_data[0];

if ( ! empty( $image ) ) {
    echo '<img src="' . esc_url( $image ) . '" />';
}

Where can I get support?

  • Basic: https://wordpress.org/support/plugin/wp-term-images/
  • Priority: https://chat.flox.io/support/channels/wp-term-images/

Where can I find documentation?

http://github.com/stuttter/wp-term-images/

Omtalar

Simple and less intrusive

Alvaro Gois dos Santos 23. januar 2021
It’s simple and less intrusive than other plugins that do the same. It blends better with WordPress UI. It doesn’t show anything in the frontend if the correct code isn’t added to the theme, something like this I guess: <?php $taximg_id = get_queried_object()->term_id; // image id is stored as term meta $image_id = get_term_meta( $taximg_id, 'image', true ); // image data stored in array, second argument is which image size to retrieve $image_data = wp_get_attachment_image_src( $image_id, 'full' ); // image url is the first item in the array (aka 0) $image = $image_data[0]; if( $image ) { echo "<img src=" . $image . " class='term-image'>"; } ?>

Plugin is out of date, don’t use

joopon 23. mai 2019
Not compatible with Woocommerce 3.6.3. All taxonomies disappear.

Just what I need

Knut Sparhell 1. mai 2019
Excellent! Works like a charm. Very useful for building nice term pages.

Thank you

dimitris33 2. juni 2017
Just tested with the latest version of WP.

Best Plugin For Uploading Term Images

Michelle 29. april 2017
Used this plugin to upload images for each category and child category using get_terms to display the images in a template.

Thanks!

wellbeingtips 27. januar 2017
keep up the good job!
Les alle 10 omtalar

Bidragsytarar og utviklarar

“WP Term Images” is open source software. The following people have contributed to this plugin.

Contributors
  • John James Jacoby
  • Stuttter

“WP Term Images” er omsett til 10 språk. Takk til omsetjarane for bidraga deira.

Omset “WP Term Images” til ditt eige språk.

Interested in development?

Les kjeldekoden, sjekk SVN-lageret eller abonner på utviklingsloggen med RSS.

Endringslogg

[1.0.0] – 2017-01-16

  • Stability!
  • Fix text domains
  • Simplify some JavaScript
  • Handle more JavaScript edge-cases

[0.3.1] – 2016-07-13

  • Fix regular edits

[0.3.0] – 2016-05-27

  • Fix quick-edits
  • Update WP Term Meta UI dependency to 0.1.9

[0.2.0] – 2016-01-07

  • Fix new-term form action hi-jacking
  • Update WP Term Meta UI dependency to 0.1.4

[0.1.0] – 2015-11-09

  • Initial release

Om

  • Version 1.0.0
  • Last updated 5 år sidan
  • Active installations 2 000+
  • WordPress version 4.4 eller nyare
  • Tested up to 5.6.16
  • Languages

    Chinese (Taiwan), English (UK), English (US), German, Japanese, Norwegian (Bokmål), Polish, Portuguese (Portugal), Spanish (Chile), Spanish (Spain) og Swedish.

    Omset til språket ditt

  • Tags
    imagemetametadatataxonomyterm
  • Avansert vising

Vurderingar

4.6 out of 5 stars.
  • 9 5-star reviews 5 stars 9
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 1 1-star review 1 star 1

Legg til vurderinga mi

See all reviews

Contributors

  • John James Jacoby
  • Stuttter

Hjelp

Har du noko å seia? Treng du hjelp?

Sjå hjelpeforumet

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Norsk (Nynorsk)

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Kode er poesi.