Problem:
How to conditionally display the content based on current post terms assignment
Solution:
You will have to write custom shortcode to get posts count based on current post term assignment and then you can use this custom shortcode with conditional block.
You can find the proposed solution in this case with the following reply:
=> https://toolset.com/forums/topic/view-block-check-for-no-results-and-how-to-alter-the-default-text/#post-2377057
Relevant Documentation:
- https://toolset.com/course-lesson/using-toolset-conditional-block/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
This topic contains 9 replies, has 2 voices.
Last updated by 2 years, 5 months ago.
Assisted by: Minesh.