It seems like you should use hierarchies of categories, because it sounds like ‘Tiger’ belongs to the group ‘Animals’.
You can get the parent category with $category->parent so if page category was Tiger, and parent category was Animals, this would then work.
Let me know if that would work for you and if you need more info
Related Posts:
- What Defines What Category A Post Picks (if in multiple)
- WordPress menu that shows all posts in a certain category like w3schools
- Mark menu item as current-menu-item for category
- How to list recent posts in a wp nav menu?
- Un-highlight Blog Menu Item when Category Menu Item is Selected
- Programmatically add posts from specific category to menu
- wp_list_categories() Exclude All Categories Except One
- WordPress – When visiting a `single post/ single.php` my category menu item link becomes active
- I want to add the 10 most recent posts under a parent category on the main menu
- Automatic Table of contents with categories and posts
- How to remove category and other tags from posts page
- Menu for all posts from multiple categories
- WordPress menu disappears in category pages
- Menu item on a category
- Using wp_list_pages() after calling query_posts()
- Is it possible to add/tick a category to a post when it is created?
- Excluding posts not working
- Show posts count for Categories and Tags in wp_nav_menu
- Hide posts belongs to few categories in homepage
- How to add category post count in main navigation menu [closed]
- why does wordpress ignore the post args?
- post category in wp_insert_post
- Limit the number of posts a category can have – newest post goes in, oldest one drops out, possible? plugin?
- How to get subcategories from category slug?
- Remove current category from post but display all others
- How show categories in admin and get that selected to show posts in index
- disable Tab post on nav-menus page (Admin)
- Showing categories and subcategories with posts
- Change default category when I publish a post
- store posts_id of category into a varable?
- How to display two random-post sections that are each under their own category
- How can you display all sibling categories to a post?
- How to Use index.php file for “Blog” Page And this is Not a Home Page
- Loop doesn’t exclude the specified category in home page
- Display posts of specific category term
- Widget that shows categories with posts numbers
- How to create a sub post?
- Post Image not displaying in category view
- How do I show posts from another wordpress installation?
- get posts from Custom Post Type & Category
- Category page when using static front page
- Latest posts by category — how to exclude current post?
- How do I include the category next to the title of a post?
- Relative number of post in category
- How can I list posts by author?
- How to create a “latest news” page showing a list of posts from blog category
- WordPress Menu options in the Admin: Posts for the dropdowns
- WordPress bulk category select when publishing post
- Is there a way to add the list of recent posts into the admin sub menu on hover?
- Exclude some categories from listing on the current post
- How to show a custom taxonomy in the theme?
- How to import nested categories from XML file?
- how to hide empty fields of post category description?
- how can i display my posts alphabetically?
- if in category but only with post meta
- How to get post with associated categories and tags names instead of ids with rest api?
- Display a mixed list of posts and media
- Migrate posts from category and sub-category via SQL
- Parent category / child category posts
- Posts Missing in Dashboard after update
- How to enable custom Shortcodes in Post Category Description? [duplicate]
- Sort by last word in title
- Display post number by category
- Deleted a user with administrator rights. Now all the data/content/images are lost. how to recover them back
- singular posts using archive styling
- Change Post Title For Specific Category
- Display selected categories onto post page
- How to call posts under a specific category on static front page?
- WordPress post filter menu
- Give posts a particular template based on the assigned category
- How to have more than one page for your posts if you have 8 posts but can store max 4 on a page
- Extract wordpress posts content and category content
- How to get post with slug and exclude categories
- All categories displays the same posts
- Having pages after specifying post_type post
- Unable to differentiate between two categories under custom post type on single.php
- In what context should Categories and Tags be used
- Exclude post category in a blog page
- Show posts on front page only
- list posts from two categories on a page – plugin not working
- Get current post’s nav menu name (term name)
- Retrieving posts by their date and category
- Get latest post from categories
- How to create a playlist for audio associated with posts per category
- Are post, page and category IDs unique to each other?
- Change the background of each post according to the category
- Static pages not working
- Post-Archive like a page in a specific subdirectory
- WP_Query of Category Not Showing First Post
- Post is in descendant category not working in home.php
- WordPress displays post on subcategory only
- How to get posts ordered by using their categories?
- Remove Featured Image from posts in specific category?
- How to show a featured image inside a post in only 1 single category
- Hide parts of the post content after typing it’s name or searching it by category
- SQL Bulk Move old posts by one author to another category
- How to display only one category in a custom post type?
- load more posts by category
- Get post category as a separate string and url
- Get only X number of categories