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
- How to display related posts from same category?
- Including categories in search results
- Count how many posts in category
- Custom Single Post By Category
- Convert custom fields to post categories
- Query posts from current year
- Adding Post Counts to Menu (Nav) Programmatically?
- Show Custom Taxonomy Categories, Listing of Posts, and Single Post via AJAX
- Archived Posts in Wrong Category
- Show One Category on Post
- Do I use custom post type or something else?
- Limit function to specific post category
- Show all post titles
- Add Category name to Post Title (h1)
- Posts are not showing up on particular category
- How can I remove posts of a certain category from homepage after a specified time period?
- How to display related posts by subcategory and not parent category
- Create dropdown list post
- Category Template: Need to display different content on first page of archives
- Edit custom post type admin menu link
- Display post category in foreach loop with category link
- Extracting post categories
- How to limit posts by category
- Get user categories with most posts in it
- Related posts by category not working right
- Dynamic dependent Dropdown lists for categories, sub-categories and posts
- Listing Specific Categories from Current Post with Depth
- How to Mysql select a list of posts with meta_values AND all relevant categories?
- Redirect to another page using contact form 7? [closed]
- get_the_category listing in hierarchial order
- WordPress Menu options in the Admin: Posts for the dropdowns
- Show posts on front page only
- Get current post’s nav menu name (term name)
- Post is in descendant category not working in home.php
- How to get posts ordered by using their categories?
- 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
- load more posts by category
- Display Related Posts by Category in Random
- inserting a category into post
- Getting posts from some categories plus some individual posts
- Change layout of post depending on category
- How to show beneath posts the full category path?
- Display Current Posts Category (with the most posts)?
- Only the most recent post is showing on my category page (working on localhost, not live site)
- Featured Images most often doesnt appear
- Display default matabox of posts(add category) wordpress
- ACF date picker to trigger category change
- Get category slug of the Parent category of a Product
- How do you change the permalink for posts for a single category?
- Posts are not displaying on their category and tag page
- how to create a category with wp_insert_post and post_category
- Exclude posts in a category on one page but show those posts on a different page
- How to display related post from same category in single.php
- How to add a block to a category page?
- Excluding category from post navigation in WordPress?
- Save All Post Permalink From A Specific Category into a .txt file
- Using WP page password protection as defacto login
- get current index of post content in category page
- Post Category link is same with Page link
- Show custom post category for single post
- Get a list of categories that are related to posts
- Querying posts from current category, using a variable as array argument
- Keep highlight on menu item with post pages
- Precedence of page permalinks over woocommerce product category links?
- Add new post only in assigned category
- Is there a global page/post/product/anything ID?
- Need help writing loop to display posts by categories in separate divs
- Add category selection to function request
- Page and Posts loading as index page? Not loading the content
- Query post category & remove any post id
- Multiple Post Repeat for Related Post Loop by Category
- Show Post number of specific Category
- Same sidebar in all posts as in the category
- How do I list categories and the common categories for posts beneath those categories?
- how to show posts on different pages if number of post per page is one
- Is possible to create a custom link that creates a post that’s already categorized?
- Is it possible to have different header style blog titles in different categories?
- Category pages vs single post pages
- How to display subcategory articles in the category view?
- How do we display a certain category type on a page while hiding all others?
- How to make posts appear under pages
- wordpress category Description not allowed tag
- How to get a list of all posts and their categories?
- Category and archive issue
- Preset category checkbox from URL parameter when creating new post
- What is the best way to publish News articles?
- Display posts from a specific category on frontpage.php template?
- Cant display custom post type posts from a specific category WordPress