Tell us what you are trying to do?
Insert a line of test that states the name of a custom post type category and the (QTY) of posts.
Lets say I have a text block, and I simply want to display the number of posts in a custom post type category like - Category Name - (6)
Is this possible with toolset?
Hello,
It is possible with taxonomy view, see below sandbox website:
Login URL: hidden link
1) Dashboard-> Toolset-> Settings-> General,
hidden link
in section "Editing experience", enable option "Show both the legacy and Blocks interface and let me choose which to use for each item I build"
2) Dashboard-> Toolset-> Views, create a new taxonomy view:
hidden link
- Query terms of your custom taxonomy
- In view's loop, display the term information + post count shortcode, for example:
[wpv-taxonomy-link]
([wpv-taxonomy-post-count])
3) Create a page, display above taxonomy view shortcode:
hidden link
Test it in frontend, it works fine:
hidden link
I was hoping for a solution outside of the loop, something that would look like [wpv-taxonomy-post-count - cat-id-10] But I will just forget about this feature for now, maybe you will develop it at some point.
Thanks