Home › Forums › Calendar Products › Filter Bar › Date picker filter giving results of other days events as well
- This topic has 5 replies, 2 voices, and was last updated 5 years, 11 months ago by req.
-
AuthorPosts
-
May 21, 2018 at 5:42 pm #1535629reqParticipant
Hi,
I am using the filter bar plugin to filter the events based on dates but when you select a date in the calendar, it should only display events on that date. Right now it’s showing events on that date and all future dates. Can you help me out solving this issue. Here is the attached screenshot.
May 22, 2018 at 1:13 pm #1536474AndrasKeymasterHi req,
Thanks for reaching out!
That is the default behavior of our plugin. It will give you events starting from the date you specify in the search field.
It will give you as many events as you have defined under Events > Settings > General tab > Number of events to show per page.
I hope this clarifies a bit.
If you would like to change that behavior, it will require some customization work.
Cheers,
AndrasMay 22, 2018 at 5:14 pm #1536589reqParticipantHi Andras,
Thanks a lot for reaching out to me.
It would be really helpful if you can guide me through the path where I can make this update myself. I really want to display the event of the specific date if a user has picked a date. Let me know if you have any questions.
Thanks!
May 23, 2018 at 12:54 pm #1537357AndrasKeymasterA team membress was kind enough to take a look at this.
Try this please and let us know if it does the trick:
https://gist.github.com/andrasguseo/24bf2ba3259b29e079829f112087247e
Cheers,
AndrasMay 24, 2018 at 9:30 am #1538057reqParticipantThanks Andras!
You guys are the best 🙂
May 25, 2018 at 1:19 am #1538545AndrasKeymasterYou’re very welcome! 🙂
Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.
Cheers,
AndrasPS: We’d be grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. 🙂 If you can spare a few words, that’s even better. Thanks!
PS2: If you like our plugins, and you didn’t yet do so 🙂 we would also be happy to receive a review in the wordpress.org repository. Much appreciated!
https://wordpress.org/support/view/plugin-reviews/the-events-calendar/
https://wordpress.org/support/view/plugin-reviews/event-tickets/ -
AuthorPosts
- The topic ‘Date picker filter giving results of other days events as well’ is closed to new replies.