Tell us what you are trying to do?
I made this homepage (hidden link), where I want to display the amount of Answers (child) to a Question (parent).
This has to be inside the View, which I made with the block editor, but from many support articles I found that I have to make a legacy View to display this count through [wpv-found-count] or [wpv-items-count], but it doesn't display anything.
I attached two screenshots with my current settings. What am I doing wrong?
Hello. Thank you for contacting the Toolset support.
Can you please share admin access details and let me check whats going wrong with your setup. Also please share screenshot how exactly and where you want to display child post count.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I checked and I found that you are adding the view created using block as nested view. Basically, nested views are not supported in block mode.
So, what you should do is as you just want to display the the child post count, rather adding the child view in block mode, you should add a "Fields and Text" block and then try to add your view:
[wpv-view name="your-view-slug"]
I see your site is too slow at this end and having many issue and I do not able to remove the view that you added inside the view so you should try to generate another view that display questions and then to display child post count of answer you should add the "fields and text" block as suggested above.
What I had to do was this:
1. Make a new Content Template
2. Add a new View Block to this content template, selecting the Child post as Content Selection, adding a filter "Select posts in Any relationship that are a related to the current post in the loop."
3. Add the Shortcode [wpv-found-count] ABOVE the View Output
4. Add the Content Template Block to the page where it has to be shown.
That's it. It's a pity these things are not documented very well, because I think these are basic things for any website with CPT's. I think you should add this to the documentation.