prasadS
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Display 'Reviews' custom post types on Woocommerce Products
1
2
Started by: prasadS in: Toolset Professional Support |
2 | 20 | 6 years, 10 months ago | ||
Display child post count on parent
Started by: prasadS
in: Toolset Professional Support
Problem: I want to display the total child post count on the parent page. I have a custom post type named 'Activities' and I have one more custom post type named 'Reviews' I want to display the child post count on each parent page. For example: Parent: https://URL/activity/sailing-at-gateway-of-india-mumbai-seabird-sailboat/ Child 1: https://URL/review/8716/ The parent has 3 child posts. On the parent page, I want to display the count i.e. 3. Solution: You can create a view to list child "review" posts: And display only the shortcode [wpv-found-count]: Then put above view into the single parent "Activities" post for displaying the child post count Relevant Documentation: https://toolset.com/documentation/user-guides/views-shortcodes/ |
2 | 6 | 6 years, 11 months ago |