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:
- Custom Taxonomy as checkbox or dropdown
- Taxonomy: Why ‘with_front’ => false DOES NOT WORK?
- Custom Taxonomy as Dropdown in admin
- Retrieve single term slug
- How to set individual capabilities on a taxonomy? Or how to re-register an existing taxonomy?
- How to sort list of custom posts to get view like a tree of posts under categories and their children’s categories?
- List taxonomies with thumbnails
- Query multiple taxonomy in Custom Post Type
- Custom Post Type: How to display all of same taxonomy?
- Remove “-2” from a Toolset Types URL with the same post name
- List all custom post type posts from a given category?
- Custom Post type taxonomy single templates
- Use the_taxonomies() to create a simple list
- Listing taxonomies from custom post type
- Custom post type with specific category structure
- Permalinks for Taxonomy and Custom Post Type
- Custom Post Type and Taxonomy combination
- Exclude specific taxonomy term when using wp_get_post_terms
- Get Post Primary Category
- How to check the terms in single custom post type template
- How can I move a custom taxonomy and its data from one post type to another?
- Hierarchical Custom Post Types – Show only parent on tax archive?
- Pagination is not working on single-{slug}.php but works fine on page-{slug}.php
- Change or update WordPress loop based on dropdown selection
- Custom Taxonomies not appearing in Admin
- Custom Post Type Set Comments ON by default without show METABOX
- How do I do this with WordPress? Taxonomies?
- Can taxonomies of custom post types be used with category actions?
- Limit amount of posts made within a custom taxonomy
- Issue on Creating Custom Tax Term Dynamically From Another CPT Meta-box On Publish
- list taxonomies from a custom post type
- Set a CPT slug as a base name for all the taxonomies
- Taxonomies relations
- Full Custom Post Type List Organised by two Taxonomies
- WordPress Doesn’t Generate Taxonomy Archive
- Adding custom taxonomy in same menu place with two custom post types
- Multiple pages for posts?
- How to organize hierarchical structure in custom post type with taxonomy (like with categories)
- Different Category system needed for the Custom Post Type
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Linking from CPT page to taxonomy.php
- Page not found for custom post type UI plugin and taxonomy
- Categories and tags for custom post types
- How to get all Custom Post Type Filtered by one Specific Taxonomy Term
- Filter second dropdown (tax) based on first dropdown (cpt)
- Archive-posttype.php isn’t loaded
- How can I create an automatic drop down menu with my tags?
- How to define a term for custom taxonomy
- List custom taxonomy as navigation – taxonomy pages with all it’s posts?
- Get taxonomy singular name instead of taxonomy slug inside $taxonomy query
- Get assigned post categories
- Query custom post types & Taxonomies and list them in a table on a page
- Default Category Page not showing custom post type which has taxonomy category
- Custom taxonomy template shows 404 Error
- Custom Post Type API doesn’t show taxonomy or category array
- How to constrain the results to a specific post_type on tag archive page?
- Creating custom post type posts and associating them with a post from another custom post type
- Custom Post Type with modified permalink structure results in 404
- Problems making shortcode with custom post types and taxonomy
- Custom Post taxonomy template
- Query Multiple Custom Post Types & Exclude a Taxonomy Term
- How to use taxonomy term as permalink folder
- Filter taxonomy by CPT
- automatically select taxonomy based on post meta
- Display related CPT with custom taxonomy
- Custom permalink structure for custom post types including multiple taxonomy
- How to group custom posts in admin menu based off taxonomy/postmeta
- How to get current post type?
- Custom post types not showing on the standard WordPress Category page
- Display 3 level taxonomies
- List posts that have the current url taxonomy
- If custom taxonomy exist on post?
- How to get all posts assigned to a taxonomy term only?
- Wrap an X amount of taxonomy posts in a separate Row in WordPress
- I want to create an archive and single page for a custom taxonomy for a custom post type
- Taxonomy’s title
- Display all posts from single taxonomy term
- How to show post which has the specific taxonomy terms?
- Displaying the Taxonomy and a Queried Term on a taxonomy.php page?
- Permalinks for a custom post type – with a page template (custom query) and taxonomy archive
- WordPress add taxonomies/terms list as a menu in archive page
- Default taxonomy ‘post_tag’ added to CPT managing by custom role : nothing in the metabox
- Custom Search not working
- Custom post type post taxonomies
- Show all post of a taxonomy with one specific term not working
- Using a Taxonomy in Two Spots in a WordPress Post
- insert a taxonomy for a custom post type
- Custom post type URL returns 404 error page
- Problems with custom post type and hierarchical permalinks
- using post_type with meta_query
- Custom Post Type Template based on Taxonomy
- custom post type tags
- Structure of custom post type / taxonomy?
- Display associated taxonomy child name on single CPT page
- Issue On Listing Woocommerce Parent Tag List
- How can I rename custom taxonomy if multiple custom post type have the same taxonomy name?
- Get a custom post type’s taxonomy type term names displayed as checkboxes and filter
- How to get taxonomy category in permalink for each taxonomy OR How to give a parent page to a given taxonomy?
- Add taxonomy or category slug to custom post types URL