In your taxonomy archive template, just add the following:
At the top: global $wp_query;
Then to get the post count for the entire term:
echo $wp_query->found_posts
This will display all posts in the query, which in a taxonomy template will be all posts attached to a term.
Related Posts:
- Get the first post term
- Creating “static” taxonomies to choose from, inside custom post type?
- How do I dynamically populate wp_nav_menu from a custom taxonomy?
- Custom taxonomy not showing up when adding a new custom post type
- How to list all categories and tags in a page?
- show tags of custom post type ONLY
- Create an archive page for custom taxonomies
- Taxonomy terms with edit/filter link in wp-admin, in the list of custom posts
- How can you make permalink work for custom post type and taxonomy?
- Internationalize / translate custom post types & taxonomies
- Rewrite custom post & taxonomy to share same URL path
- How do I list terms of a custom taxonomy at i.e. domain.com/brands/
- Add Taxonomy Values Within a Custom Post Type RSS Feed
- Taxonomy-{taxnonomy}.php is not working
- Get list of terms of current taxonomy archive for another taxonomy
- Associate Taxonomies Across Post Types
- Show Post Count of a Category
- Order WordPress Custom Taxonomy Pages & Pagination Not Working
- Relationship between two taxonomies and a custom post type [closed]
- Menu Multiple Taxonomies
- How to make a custom taxonomy selectable in post publish area?
- Have a Custom Post Type index page display taxonomy items instead of posts
- Create Custom Post Type Permalink Structure
- Custom page template for category taxonomy
- How can I display an archive of only one category of my custom post type?
- How to get the post type from a category id?
- Custom Post type is being ignored in query
- Hide specific parent categories from post edit
- Metadata for a taxonomy – is there any WordPress way of doing this?
- How do I get array of types associated with a taxonomy?
- Display all posts in main category and 1 subcategory
- Show category ID on custom post type
- wp_get_post_terms on custom post type with custom taxonomies returning an empty array
- Using default WP menu functionality to link to custom post-type listing?
- How to display custom taxonomies with links in filter menu?
- How to Filter custom post type by taxonomy?
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- Show child custom post types list inside single parent custom post type
- Several post types on WP Query by tag and taxonomy
- How do I display the grand child items of a taxonomy term?
- Is it better to use WordPress Custom Post Types or Taxonomies?
- Display latest x posts from all categories in Custom Post Type/Taxonomy
- Unable to link categories to custom post type using standard function
- Enable taxonomies by post type in an array of CPTs
- Custom Taxonomy Is Being Pulled into a Page, But It Doesn’t Have A Hyperlink
- Querying two taxonomies with tax_query not woking
- Hide specific taxonomies from a taxonomy list using ‘get_object_taxonomies’
- How does the ‘the_post_navigation()’ work for CPT’s?
- Custom post type – list posts based on meta_key and display them divided by CPT taxonomy category
- get_category_link() for custom post type does not include custom slug rewrite?
- Targeting categories in custom fields
- Invalid Taxonomy
- Custom Post Types not queried in Custom Taxonomy archives or Native archives
- I need to add a filter to prepend the term ‘National – ‘ to the post title if the post is tagged to multiple states
- Remove categories taxonomy from custom post type
- Changing CPT slug and taxonomy already registered in parent theme
- Shortcode to return single custom post based on post taxonomy
- Custom Taxonomy Terms in Menu lead to which page?
- Display 1 Post per taxonomy with polylang
- “Menu order” being ignored when querying posts from a parent taxonomy with “include_children” set to true
- Can I use the ‘category’ taxonomy for both posts and a custom post type?
- Menu for taxonomies and posts belongs to taxonomy
- How to automatically create a terms based on each post of a post type
- CPT : Next or Previous term link when has not adjacent post
- Display Custom Post Type Based on Taxonomy With WP_Query()
- How do i enable categories for my custom post type?
- Custom taxonomy returns 404 even with saving permalinks
- Create custom post type categories
- How to add CSS class field in Custom Taxonomy?
- Taxonomy doesn’t follow slug permalink structure
- How to Use A Custom Post Type as Taxonomy for Another Custom Post Type
- How to manage a dynamic multi-level page hierearchy system?
- Get name CPT with slug taxonomy
- Categories manage
- Add other all taxonomies as meta boxes to custom post type
- How to get post type archive category title
- Automatically / dynamically populating tags in custom post type
- Filtering custom post using Ajax and taxonomies, keep getting 0
- Changing an item in drop down after 5 latest posts per taxonomy
- Query for a custom post taxonomy
- How to create groups like that in buddypress?
- Organising custom taxonomies and custom post types
- Update Cateogory Taxonomy Count for Attachment Post Type
- get children from current variable (taxonomy) via shortcode
- Related posts by taxonomy [duplicate]
- List all posts from custom post type by taxonomy
- Taxonomy count per Post type
- Connecting multiple post types? Or linking “News” posts with “Game” posts how?
- Sort by Custom Post Type (Multiple Loop)
- How to display elements of different post types?
- How to display only taxonomies of custom post type in a page?
- Custom Post Type order Title ASC
- get_the_term_list() wanting to loop through the returned values
- Displaying child taxonomies
- Sharing a custom taxonomy – No posts?
- show only one category posts in admin
- Get all active posts that are tied to a custom taxonomy for a custom post type
- Is there a function that replace category name with a icon?
- Show custom category archive as front page and remove taxonomy slug from urls
- How can I rename custom taxonomy if multiple custom post type have the same taxonomy name?