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.

Term Thumbnails

Disgrifiad

Post Thumbnails for WordPress Terms

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 )

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

Lluniau Sgrin

  • Term listing
  • Term listing with image
  • Term edit page
  • Term edit page with image

Gosod

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

Cwestiynau Cyffredin

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’ );

Adolygiadau

There are no reviews for this plugin.

Contributors & Developers

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

Cyfranwyr

Translate “Term Thumbnails” into your language.

Interested in development?

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

Cofnod Newid

v1.0.2

  • Fix: No 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