Add an 'offset' parameter to the shortcode

Home Forums Calendar Products Community Events Add an 'offset' parameter to the shortcode

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1082821
    Sam
    Participant

    Hi, I was just tasked with developing a website for a sports team and part of their design for the homepage had three month-view calendars displayed (side by side) to easily show the upcoming events the next three months.

    I was wondering if it would be possible to add an “offset” parameter to the shortcode, so that you could easily display a calendar for particular month in the future. – for example, if the current date falls in January, then applying an offset of “1” would display the calendar for February, if you set the offset to “3” it would show April.

    It is more of a feature suggestion I suppose, but for now I was wondering if this would be achievable through a custom filter or function?

    Thanks,

    #1082857
    Geoff B.
    Member

    Good evening Sam and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us.

    This is a great suggestion.
    In fact, you can suggest it or cast your vote for it in our User Voice forum.

    Unfortunately, at this point it is not a built-in feature. So this means, you will have to resort to template customization to get it done.

    If you haven’t already, I recommend reading our our Themer’s guide to get a general sense of that would work.

    Next, to get you started, I highly recommend the following post on a similar topic: https://theeventscalendar.com/knowledgebase/set-calendar-to-show-specific-month/

    Let me know if that helps.

    Have a great day!

    Geoff B.

     

    #1088250
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Add an 'offset' parameter to the shortcode’ is closed to new replies.