Exclude Category
-
Great plugin!
I’ve been trying to figure out how to exclude a particular category image? I’ve tried different options and have read every support ticket.
Using this code I want to figure out how to exclude a specific category image either by name or ID.
$terms = apply_filters( ‘taxonomy-images-get-terms’, ” );
This is because I have separate templates with post loops for specific categories and I want each category post loop not to display the image of the category that they are already on, but still display the others associated with the various posts (if there are any others associated with the various post.)
So I’m wanting just to add this code into each category template with an exclude that I can assign (In my case the assigned will be the template category I’m editing this code.)
- The topic ‘Exclude Category’ is closed to new replies.