ralfhortt/term-thumbnails

Post Thumbnails for WordPress Terms

Installs: 81

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 1

Type:wordpress-plugin

2.1.0 2019-09-08 12:40 UTC

This package is auto-updated.

Last update: 2024-11-09 00:10:12 UTC


README

Post Thumbnails for WordPress Terms

Installation

  • Put the plugin file in your plugin directory and activate it in your WP backend.
  • Go to any term page and add images

Screenshots

Term listing

Term listing

Term listing with image

Term listing with image

Term edit page

Term edit page

Term edit page with image

Term edit page with image

Language Support

  • english
  • german

Template tags

  • get_term_thumbnail_id( $term_id )
  • has_term_thumbnail( $term_id )
  • the_term_thumbnail( $size, $attr )
  • get_term_thumbnail( $term_id, $size, $attr )

Frequently Asked Questions

How do I remove thumbnail support from a specific taxonomy

For removing support for categories put this in your functions.php add_filter( 'category-has-thumbnails', '__return_false' );

Hooks

Filters

  • term-thumbnail-taxonomies - Taxonomies that should support term thumbnails; expects an array with taxonomies
  • $taxonomy-has-thumbnails - Remove term thumbnail support for taxonomy; expects bool value

Changelog

v2.1.0

  • Added: Composer support

v2.0.1

  • Fix: Remove warning

v2.0.0

  • Switch from options to term meta structure

v1.0.2

  • Fix: Missing term images for custom taxonomies

v1.0.1

  • Added: Screenshots
  • Added: readme.txt
  • Enhancement: Security improvements
  • Fix: Typo on term edit page

v1.0

  • Initial release