Skip Navigation

[Resolved] Filtering post by date field

This support ticket is created 6 years, 2 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.

Our next available supporter will start replying to tickets in about 1.32 hours from now. Thank you for your understanding.

Tagged: 

This topic contains 1 reply, has 1 voice.

Last updated by Pat 6 years, 2 months ago.

Author
Posts
#1112800

Pat

Hello,

I have a postype with a date custom field (Date début) for the stating date of an event.
I need to filter the next event that will occur.
So, I have created a Views for this postype and selected 1 as the post number limit.
I have also created a filter :
Date début actu is a chaîne supérieur ou égal à TODAY()
With this, I'm not able to have the next one. So I tried to modify the filter and replace "chaine" by number, or date ... but nothing works.
Is there a way to display the next event thanks to this custom field?
Regards
Pat

#1112826

Pat

Hello,

Sorry but I just discover that I was using the post date as sorting and I need to use the same custom field (Date début) than used in the filter. Now everything is OK.
Sorry for having posted without taking car of that !
Regards
My issue is resolved now. Thank you!