Template Tag: add_eventon

April 18, 2013

Description

Use this function to display EventON calendar inside a page template. This function does not need to placed inside the WP loop.

Note: ajde_evcal_calendar() function also support how ever this function is deprecating.

 

Usage

NOTE: $args variable is used only when you are passing other variable values to the calendar.

 

Default Usage

 

Parameters

cal_id

(integer/string) (optional) This is a unique id that could be set to identify a single calendar (if there are multiple calendars in a single page). The cal_id can be any number, letters, or combination of both that you can come up with – only requirement is that it is unique.

 

event_type

(integer)  List of event type taxonomy tag IDs separated by commas. Default is ‘all’.

 

event_type_2

(integer) List of event type 2 taxonomy tag IDs separated by commas. Default is ‘all’.

 

month_incre

(integer) Is the offset number of months in a +/- integer representing the offset that will push the starting month of the calendar by this offset number. Default is 0.

 

event_count

(integer) Number of events to show per month in the calendar. Default is 0.

 

show_upcoming

(integer) Enable upcoming events list on the calendar. Default is 0 (false).

  • 0 – default, no upcoming list
  • 1 – show upcoming list

 

number_of_months

(integer) Specify the number of months to show in the case of upcoming months list. MUST  be used with show_upcoming parameter. Default is 0.

Did this article help you? If not, send us a ticket via helpdesk

Ready to setup your calendar?