[Resolved] Showing multiple instances of post in search

This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Our next available supporter will answer your ticket in about 7.71 hours from now. Thank you for your understanding.

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  marcelJ 2 months, 1 week ago. The support staff assigned to this topic is Noman.

Viewing 3 posts - 1 through 3 (of 3 total)
Author
Posts
#577226

Hi,
I'm bulding a site to book courses. The courses are 'products' in WP . Every course runs multiple times per year. These are not weekly or monthly recurring dates but quite random. So in the 'product' post I have a date field that has multiple values.

I would like to show the different start dates as separate posts in a list view so that a course that runs 4 times per year shows up 4 times. All other fields except start date should remain unchanged.
Is this possible? How can I achieve this?
Marcel

#577268

Noman
Forum moderator

Supporter languages: English (English )

Supporter Timezone: Asia/Karachi (GMT+05:00)

Hi Marcel,

Thank you for contacting Toolset support. Yes you can do that, for listing “Product” or post multiple times based on Date field you will need to use [wpv-for-each] shortcode like its done here, the View code:
https://wp-types.com/forums/topic/group-by-repeating-custom-date-field-and-sort-by-date/

Doc: https://wp-types.com/documentation/user-guides/views-shortcodes/#wpv-for-each

Thank you

#577282

Great! Thanks for that!

Viewing 3 posts - 1 through 3 (of 3 total)