[Résolu] I'm trying to make a view that only shows past events.
This support ticket is created Il y a 9 mois et 2 semaines. 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Do you mean you selected the difference date and it just show the different selected date and does not refresh the view result? if this is correct then you will have to click on search button to apply the different date.
So it appears you've made it so that the date filter works to show only events before that date. That is not what we need. We need the view to control the past/future, but the date field to be a match for that date.
Minesh, I think you are working on the wrong view. You did the work on hidden link based on that last link you sent.
When I requested the view to be worked on was: hidden link
Please make sure to re-read my private message with the links. We are working on one past view and one future view.
There are 3 views total.
Original(view name "community-events" id=2545): hidden link (should not have been touched)
Past (view name "community-events-past" id=4224): hidden link
Future (view name "community-events-future" id=4288): No front facing page yet. Can build one if needed.
But you are working on hidden link (view name "events" id=104) based on the last link you sent me, though the view ID in the snippet is correct. Which is a view completely separate from all the other 3 views and uses a completely different post type. This should not have been touched. You may have just sent the wrong link. Not sure.
Thank You and please let me know if you need more detail.
The code I shared as you already noticed that its applied to your view IDs:
- Past (view name "community-events-past" id=4224): hidden link
and
- Future (view name "community-events-future" id=4288): No front facing page yet. Can build one if needed.
I just checked with the past view and when I search for 14th May 2023, it shows the correct results: