WordPress.org

Cymraeg

  • Themâu
  • Ategion
  • Newyddion
  • Ynghylch
  • Diolchiadau
  • Cysylltu
  • Cael WordPress
Cael WordPress
WordPress.org

Plugin Directory

WP Term Images

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

Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

WP Term Images

Gan John James Jacoby
Llwytho i lawr
  • Details
  • Reviews
  • Installation
  • Development
Cefnogaeth

Disgrifiad

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

Lluniau Sgrin

  • Category Images

Gosod

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

Cwestiynau Cyffredin

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/

Adolygiadau

Simple and less intrusive

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

Just what I need

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

Thank you

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

Best Plugin For Uploading Term Images

Michelle Ebrill 29, 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 Ionawr 27, 2017
keep up the good job!
Read all 10 reviews

Contributors & Developers

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

Cyfranwyr
  • John James Jacoby
  • Stuttter

“WP Term Images” has been translated into 10 locales. Thank you to the translators for their contributions.

Translate “WP Term Images” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Cofnod Newid

[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

  • Version 1.0.0
  • Last updated 5 blynedd yn ôl
  • Active installations 2,000+
  • WordPress version 4.4 neu uwch
  • Tested up to 5.6.14
  • Languages

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

    Translate into your language

  • Tags
    imagemetametadatataxonomyterm
  • Advanced View

Graddau

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

Ychwanegu fy adolygiad

See all reviews

Cyfranwyr

  • John James Jacoby
  • Stuttter

Cefnogaeth

Rhywbeth i’w ddweud? Angen help?

Gweld y fforwm cefnogi

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • News
  • Lletya
  • Preifatrwydd
  • Arddangos
  • Themes
  • Ategion
  • Patterns
  • Learn
  • Support
  • Datblygwyr
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Rhoi ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Cymraeg

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Ewch i'n tudalen Facebook
  • Ewch i'n cyfrif Instagram
  • Ewch i'n cyfrif LinkedIn
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Cynghanedd yw Cod