So i have a website where i show custom post type "property" on a page. Only posts which have a custom field named "wpcf-ohome1" value lower than "next-monday" show in the view. Which is perfectly fine.
Now, what i want to achieve is, somehow group posts with same custom field value. So for instance all the posts with custom field "wpcf-ohome1" value equal to today's date show in one group, under one heading, let's say "Today or 11 September" and same goes for each date till this sunday.
I can provide more information if there appears to be any confusion. Thanks heaps in advance.
Types date fields are stored as UNIX timestamps, e.g. the current timestamp as I'm writing is 1536653566.
And now it is 1536653673.
And now it is 1536653691.
That is not amenable to grouping in the way that you could group posts with fields such as "Monday", "Monday", "Tuesday", "Wednesday", "Wednesday" etc.
You can order the posts by the date field and then output the field in a custom format that only displays the day of the week, for example, so you would see them listed something like
Monday - post 1
Monday - post 2
Tuesday - post 3
Wednesday - post 4
Wednesday - post 4
Maybe that would be good enough.
But if you require
Monday
post 1
post 2
Tuesday
post 3
Wednesday
post 4
post 5
then you would effectively need to make a separate View for each.
Let me know your thoughts and I can expand if required.