Problem:
Display child post's count in a nested views.
Solution:
You can add a new view block:
- Query child posts
- Filter by:
Select posts in Any relationship that are a related to the current post in the loop.
- Outside view's loop, display the post found count shortcode, like this:
[wpv-found-count]
Relevant Documentation:
https://toolset.com/course-lesson/displaying-related-posts/#displaying-many-related-items
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 |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9: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/Hong_Kong (GMT+08:00)
This topic contains 16 replies, has 2 voices.
Last updated by 3 years, 10 months ago.
Assisted by: Luo Yang.