How do I get Map View to show only that day's events ?

Home Forums Calendar Products Events Calendar PRO How do I get Map View to show only that day's events ?

  • This topic has 4 replies, 2 voices, and was last updated 9 years ago by Susan.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1262888
    Susan
    Participant

    I have a category of several different events on different days. I want to make it so the map shows only the current day’s events. So if I view the map on Friday it only shows Friday events and on Saturday only that day’s events.

    #1262897
    Susan
    Participant

    For example the page : http://ayrfci.com/events/category/oshawa/oshawa-wing-specials/map/
    shows not only today’s events but everything going forward. I only want it to show today’s map indicators.

    #1264468
    Andras
    Keymaster

    Hello Susan,

    Thanks for going Pro and welcome to the forums!

    Great question you have there. I am able to answer some questions to help you get started on a customization for this, but for the most part that is beyond the support we can provide.

    Here is a snippet that can help you get started. Paste it into your child theme’s functions.php file and that should do the trick. Note, if there is already code in that file, then likely you will not need the opening <?php tag.

    https://gist.github.com/andrasguseo/552c25143f0856341166acc4c72c5436

    This will change all your views to show only today’s events. If you only want that for your map view, then you will need to further customize the code.

    Let me know if you have any follow up questions.

    Cheers,
    Andras

    #1274746
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How do I get Map View to show only that day's events ?’ is closed to new replies.