Archived topic
Want to show number of posts counts
5 replies · Started by Ajay on January 12, 2023
I want to show the number of posts count dynamically on the button and Meta description. Please check private box
Hi there,
Not seeing any important info in the private info field.
And for this question, it requires custom development, or you can try to find a plugin which does this.
look
If it's a custom taxonomy, you'll need custom development or a third-party plugin for that.
Unfortunately, this level of customization would be out of our scope of support. You can try a plugin like this - https://wordpress.org/plugins/taxonomy-list/ - and ask if their support can help add the Post count per term.
It would also be good to ask for recommendations on our Facebook Page: https://www.facebook.com/groups/1113359788719597
If it's regular Categories, you can use a WP Category List Block. This Block has a setting to show the Post Count per category. Reference: https://wordpress.com/support/wordpress-editor/blocks/categories-list-block/#:~:text=the%20block%20settings-,Settings,-The%20settings%20contain
Actually i want to show on a page where all my posts are listed
When you say Posts, are you referring to just default posts or all custom Post Types?
If it's all Custom Post types and you want to show it on your Blog page, you can check this article which shows how: https://www.wpbeginner.com/wp-tutorials/how-to-create-custom-post-types-in-wordpress/#:~:text=Displaying%20Custom%20Post%20Types%20on%20The%20Front%20Page
You can also use a Query Loop Block: https://docs.generateblocks.com/article/query-loop-overview/
You just need to add a Snippet to include specific Post types: https://community.generateblocks.com/t/multiple-post-types-in-query-loop/850