• The best import export plugin
  • Supports very large files
  • Simple interface & flexible API
  • Import, Export, Migrate, Bulk Edit

Term Featured Image Fallback

by Eduardo Lazaro

0 Ratings

Active Installations

Fewer than 10

Last Update

7 years

Quality

D

Plugin Description

Description
Features:
Add featured images to all terms of any taxonomy, including, categories, tags or terms of any custom taxonomy.
Set a fallback option for posts of any post type so they use term featured images as fallback for post featured images.
Set a priority in terms so the each post uses the higher priority featured image as fallback in case the post has many terms associated.
Set also a priority in taxonomies in case a post has one or more terms of different taxonomies associated.
Enable and disable the fallback option by post type.
Clean uninstall option to delete all data related to this plugin so you can keep your database clean.
If you are a developer, you can use the cs__the_term_thumbnail() and the cs__get_term_thumbnail_id() functions to get the featured image or the featured image id for any term.
Tutorial
Go to Appearance -> Taxonomy images
In “Taxonomy configuration” you have a list of taxonomies.
2.1. In the first select box you can select here whether its terms should have a featured image.
2.2. In the second select box you can select if posts should use this taxonomy as a fallback for the featured image in case they have a term associated.
You can also select the priority in case they have terms of more than one taxonomy.
2.3. In the “Post type configuration” area there’s a list of post types. You can select if the taxonomy featured image fallback should be enabled or disabled for each post type.
If you go to the page of a taxonomy in which the featured image is enabled, you should be able to upload a featured image and also to set the priority, in case a post has more than one term of this taxonomy.
Functions for developers:
4.1. cs__the_term_thumbnail($termid[OPTIONAL])
You can use this function to print the term featured image in case there’s one selected.
You can pass the termid parameter to print the image for a term.
If you don’t pass the termid parameter, it will print the current taxonomy image in case tou are in a term archive page or if there is a term in the current query.
4.2. cs__get_term_thumbnail_id($termid[OPTIONAL])
You can use this function to get the the term featured image id in case there’s one selected.
You can pass the termid parameter to get the featured image id of that term.
If you don’t pass the termid parameter, it will get the current taxonomy image id in case tou are in a term archive page or if there is a term in the current query.

Similar Plugins

  • Report Bug
The content on this website originates from various sources. All rights to the original content remain with the respective author. If you believe that your copyrights have been infringed by the use of content on this website, please contact us at info@plugin-guru.com. We will remove the content in question immediately.

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Collections

Create your first Collection

To create a collection, simply click on the symbol on the desired plugin.

You can see this symbol when you move the mouse over the plugin. 

Current Level

Plugin Magican

You have reached 0 views on your collections and are currently Plugin Magican. You magically help people find the right plugins and are a great asset to the community

0 of 500 views reached