Hi there
This is a follow-up to this thread: https://toolset.com/forums/topic/count-entries-in-repeatable-group/
I would like to display the number of rooms (repeating field group) a location has in the search results. I managed to display the number on the post itself.
However, that code
[show_rfg_count post-id="wpv-post-id" type="*****"]
is obviously not working anymore as the current post ID is the ID of my search page.
Is there a way to replace
with something, that takes the ID of the current post in the loop?
Thanks a lot.
Best,
Marcial
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Hello. Thank you for contacting the Toolset support.
Well - what if you try to add [wpv-post-id].
For example - pelase check that we used _ (underscore) with argument:
[show_rfg_count post_id="[wpv-post-id]" type="*****"]
Please make chages accordingly to the code as well. If you do not know how to do it, please share problem URL and access details.
I have set the next reply to private which means only you and I have access to it.