Skip Navigation

[Resolved] Repeatable fields only displaying the first out of 3 results.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 1 year, 10 months ago.

Assisted by: Minesh.

Author
Posts
#2641591

Tell us what you are trying to do?
I have a content type called topics. On those topics pages I want to display related content called template documents which is another content type. The template documents will display as an accordion on the topic page. The template documents content type has the repeatable fields. So far I have created the 2 views that I need, however my repeatable fields view is only displaying the 1 result. When it should be outputting 3 in total for the accordion that is displaying. Also I have no limit set on either of my views.

Both of my views are in the legacy editor.

Parent view: template-documents-to-display-on-topics-pages
Child view: legacy-template-documents-repeat-fields

Is there any documentation that you are following?
https://toolset.com/course-lesson/displaying-related-posts/
https://toolset.com/forums/topic/help-displaying-groups-of-repeated-fields/
https://toolset.com/documentation/legacy-features/views-plugin/create-image-galleries-using-repeating-custom-fields/
https://toolset.com/forums/topic/how-to-display-related-posts-based-on-custom-fields/#post-1347199
https://toolset.com/documentation/customizing-sites-using-php/displaying-child-posts/
https://toolset.com/documentation/customizing-sites-using-php/displaying-repeatable-groups-of-fields/
https://toolset.com/course-lesson/creating-and-displaying-repeatable-field-groups/

Is there a similar example that we can see?
hidden link

What is the link to your site?
hidden link

#2642049

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share admin access details and share what are those three entries you would like to display.

*** 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.

#2647591

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thank you for sharing admin access details but unfortunately the share admin access details is not working at this end.

Can you please send me working admin access details.

I have set the next reply to private which means only you and I have access to it.

#2648301

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please check now: hidden link

Within your parent view:
- hidden link

I've replace the following code line:

 [wpv-post-body view_template="loop-item-in-legacy-template-documents-repeat-fields" item="@mtemp-doc-acc-group.child"]

With the following code line:

[wpv-view name="legacy-template-documents-repeat-fields"]

Can you please confirm it's working as expected.

#2649121

This does work as I wanted! I can't believe I hadn't tried that thank you so much! Have a great day!