Skip Navigation

[Resolved] Custom Date Field filter by week

This support ticket is created 6 years, 3 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 1 reply, has 2 voices.

Last updated by Minesh 6 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#1111578
custom_field_group.png

I have created a custom post type with a custom post fields group allocated to it.

The custom post fields group has 2 x non-repeatable items and a nested group of 3 x repeatable items. (one being a date field)

I'm using 2 views (1 nested in the other) to pull the values into the post body.
1 x view to pull in the 2 x non -repeatable fields and 1 x view to pull in the 3 x repeatable fields
(The latter is inserted into the former)

This all works fine.

The issue I have is:

One of the repeatable items in the nested custom fields group is a date field.

I need the ability to filter the output weekly.

Then using the weekly filter, I need the values to be displayed for each week that the condition applies to.
Thus a new instance of the group (all five fields) containing the 2 x non repeatable as well as the 3 x repeatable should be output for each different date as it loops through.

I know weekly filter can be achieved when filtering posts by post date. But I need this to happen for the custom Date field.
The ultimate aim is to output the data into a table divided into weekly columns.

#1112217

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - currently, you can not filter the view by fields of repeating field group. This feature is on our Devs priority list with next development cycle which will start in a couple of weeks from now.

You can expect this feature implemented soon within a couple of months or so. Please note that there is no exact ETA on it but hopefully we made it available in two or three months. Please keep your eyes on our blog:
=> https://toolset.com/blog/