List child posts created by "Types"
-
I am trying to list a custom post type “reviews” I created with the plugin “Types” and want to show those posts together with woocommerce products. So I defined the custom post type, set “product” as the parent and then defined a specific product for each review.
So looking at the rveiew, I can verify the parent product and looking at the product, I can verify the child reviews.
But it seems I can’t get CCS to list only the relevant child posts.I’ve tried
[loop type=”review” parent=”this”] [field title] [/-loop] [/loop]
and many other varianst I could think of, but CCS will always ignore the parent-child relationship and list either all or no reviews.So I guess “Types” is doing their own thing regarding parent-child relations and I would have to use “Views” or do it in php like described here at the bottom: https://wp-types.com/documentation/user-guides/querying-and-displaying-child-posts/
Or do you have any other idea?
https://www.ads-software.com/plugins/custom-content-shortcode/
- The topic ‘List child posts created by "Types"’ is closed to new replies.