[Resolved] Trying to creating a view with a repeatable group but no results are showing.
This thread is resolved. Here is a description of the problem and solution.
Problem:
Trying to creating a view with a repeatable group but no results are showing.
Solution:
To display the repeating field group belongs to specific post you will require nested views where one view we will require to query the Show Dates post type and one view to query the related Show repeating field group items.
Tell us what you are trying to do?
I want to creating a listing of events with name of event, start date, end date, location, and a field for additional information, to be presented by month. I created a repeating group with the necessary fields to make it easier to add the events for each month. I then created my view but I must be missing some key setting or step along the way, because when I insert my view where I want it, I am getting "No items found" as the result, instead of the events I entered. I've attached all the applicable screen shots, but let me know if you need some other information.
Is there any documentation that you are following?
Looked at applicable documentation and can't figure out where I'm going wrong, as this seems fairly straightforward.
If your plan is to display custom fields of post type "Show Dates" on single post, then you should create a content template where you should add the fields belongs to post type "Show Dates" and set your view to query only repeatable field group "Show".
Please let me know if its not clear yet, you should pass me the information what fields you want to display exactly where and I would be happy to assist you further.
That is strange. Based on the screenshot you shared I can see that you are using the WPBakery page builder to build the content template. Is there specific reason you are using WPBakery page builder as you can build content template using Gutenberg blocks as well.
I will require admin access details to check further whats going wrong with your setup.
*** 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.
To display the repeating field group belongs to specific post you will require nested views where one view we will require to query the Show Dates post type and one view to query the related Show repeating field group items.
I've created the following view that will be used to query the Show Dates post type where I've setup the query filter for taxonomy Months as:
Select posts with taxonomy:
Months slug in one of those set by the View shortcode attribute wpvmonth
eg. [wpv-view name="view-name" wpvmonth="xxxx"]