Support » Plugin: Event Calendar - Responsive Calendar » Setting an inicial and final month of annual calendar

  • Resolved pmg

    (@pguinote)


    I’m using the annual template of the calendar for a college website.

    Is it possible to define the starting and ending month in the config section?

    Because he starts in January 2020 and ends in December 2021 and I’m only interested from Aug / Sept 2020 until Oct / Nov 2021.

    Or another way could be he start in the month prior to the first even and ends in the month after the last event….

    Thank you, great plugin!

Viewing 1 replies (of 1 total)
  • Plugin Author totalsoft

    (@totalsoft)

    Hello, dear pmg.

    Thank you for contacting us and for reporting your problem.

    To solve your problem, edit our Total-Soft-Calendar-Widget.php file. Find code

    endYear = new Date().setFullYear(new Date().getFullYear() +13);

    Please edit the code and write like this.

    endYear = new Date().setFullYear(new Date().getFullYear() +2);

    Thank You.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.