Calendar showing Next or Previous Week and Next or Previous Month
On this page we are using the Calendarize it! shortcode with the attribute gotodate, which was introduced a while ago. It makes it possible to go to a specific month.
In version 3.3.1 of Calendarize it! we introduce some new values that can be used with this attribute.
next_month: This will show the next month.
previous_month: This will show the previous month.
next_week: This will show the next week. .
previous_week: This will show the previous week.
Adding a number directly after the value, next_month2, will in this case display the month 2 months ahead from current month.
If you write the value previous_week2, the week two weeks before current week will show. In the examples below we have added the attribute feed with the value 0 in order to exclude any events from our External Event Sources add-on.
Calendar with Month View and showing next Month
[calendarizeit defaultview="month" feed="0" gotodate="next_month"]
Calendar with Month View and showing two Months ahead
[calendarizeit defaultview="month" feed="0" gotodate="next_month2"]
Calendar with Month View and showing previous Month
[calendarizeit defaultview="month" feed="0" gotodate="previous_month"]
Calendar with Agenda Week View and showing next Week
[calendarizeit defaultview="agendaWeek" feed="0" gotodate="next_week"]
Calendar with Basic Week View and showing next Week
[calendarizeit defaultview="basicWeek" feed="0" gotodate="next_week"]
Calendar with Agenda Week View and showing previous Week
[calendarizeit defaultview="agendaWeek" feed="0" gotodate="previous_week"]