Skip Navigation

[Closed] Repeatable Items are listing on each post

This support ticket is created 3 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

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 8 replies, has 2 voices.

Last updated by Minesh 3 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#2053953
Screenshot 2021-05-13 at 11.57.33.png

For all our tours, we list daily activities on each tour page.
And we are using the repeatable fields to add each day. But surprisingly, days for tour A, are listing on top of days tour B.

Sample page: hidden link

You can find examples in the middle of the page (one empty field is listing on each tour).

Regards,
Ata

#2053969

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

That is strange. I've to review how exactly you build your page.

Can you please share admin access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) 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.

#2054095

Minesh
Supporter

Languages: English (English )

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

I've added the following Query filter to the "Query Filter" section of the following view:
=> hidden link

Filter by post relationship or repeatable fields group owner
Select items from the Itinerary Days group that are related to the Post where this View is shown.

Can you please confirm it works as expected now.

#2054097

It is perfect. But the empty field is still there at the end ... at the end of each repeatable field, there is one empty field.

Let's say the tour is 4 days, but there are 5 fields ... or for 3 days it's 4 fields (the last one is empty for both options).

Regards,
Ata

#2054101

Minesh
Supporter

Languages: English (English )

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

Do you mean that if the field "Things to do in this day" is empty, you do not want to display the associated Day (the repeating field group item)? You want to skip it?

#2054185

No, I added only 3 days ... it shows 3 days + one empty field on front end ...
For other case I added 4 days, it shows 4 days + one empty field on front end

#2054187

Minesh
Supporter

Languages: English (English )

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

For instance, the following post display the 4 days: hidden link

And when I checked and edit the above post - within "Itinerary Days" - it shows 4 items.
=> hidden link

With what post you have issue with - can you please share URL of that post?

#2059475
Screenshot 2021-05-18 at 11.01.26.png

Hello again,

In the back office this tour has 3 days, but on the front, it shows 4 days!
Please check the attached file.

URL is: hidden link

Regards,
Ata

#2060961

Minesh
Supporter

Languages: English (English )

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

I'm not sure about what post you are talking about - for what post you added the 3 repeating field group items and it shows 4?

The topic ‘[Closed] Repeatable Items are listing on each post’ is closed to new replies.