Spring naar de inhoud
  • Aanmelden
  • Registreren
WordPress.org

Nederlands (België)

  • Thema's
  • Plugins
  • Nieuws
  • Over
  • Meetups
  • Vertaling
  • Contact
  • Download WordPress
Download WordPress

Plugins

  • Mijn favorieten
  • Beta-testen
  • Ontwikkelaars

Deze plugin is niet getest met de laatste drie grote versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Er kunnen ook compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

Download

WP Term Images

Door John James Jacoby
  • Details
  • Beoordelingen
  • Installatie
  • Ontwikkeling
Ondersteuning

Beschrijving

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

Schermafbeeldingen

  • Category Images

Installatie

  • 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.

FAQ

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/

Beoordelingen

Simple and less intrusive

Alvaro Gois dos Santos 23 januari 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 mei 2019
Not compatible with Woocommerce 3.6.3. All taxonomies disappear.

Just what I need

Knut Sparhell 1 mei 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 januari 2017
keep up the good job!
Lees alle 10 beoordelingen

Bijdragers & ontwikkelaars

“WP Term Images” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers
  • John James Jacoby
  • Stuttter

“WP Term Images” is vertaald in 9 talen. Dank voor de vertalers voor hun bijdragen.

Vertaal “WP Term Images” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

[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

Meta

  • Versie: 1.0.0
  • Laatst bijgewerkt: 3 jaar geleden
  • Actieve installaties: 3.000+
  • WordPress versie: 4.4 of nieuwer
  • Getest t/m: 5.6.11
  • Talen:

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

    Vertaal in jouw taal

  • Tags:
    imagemetametadatataxonomyterm
  • Geavanceerde weergave

Beoordelingen

Bekijk alle
  • 5 sterren 9
  • 4 sterren 0
  • 3 sterren 0
  • 2 sterren 0
  • 1 ster 1
Log in om een beoordeling te versturen.

Bijdragers

  • John James Jacoby
  • Stuttter

Ondersteuning

Iets te melden? Hulp nodig?

Het supportforum bekijken

Doneren

Wil je de groei van deze plugin ondersteunen?

Doneer aan deze plugin

  • Over
  • Nieuws
  • Hosting
  • Doneer
  • Swag
  • Ondersteuning
  • Ontwikkelaars
  • Raak betrokken
  • Leren
  • Showcase
  • Plugins
  • Thema's
  • Patronen
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Publieke code
WordPress.org
WordPress.org

Nederlands (België)

  • Onze Facebookpagina bezoeken
  • Ons Twitteraccount bezoeken
  • Bezoek onze Instagram account
  • Bezoek onze LinkedIn account
Code is Poetry.