Current Version 1.7
Reference
Shortcodes
[acsevent]
when acsid is included as a URL param, the event specified will display in detail.
Attributes
registerlink Value: (string) URL
The specified URL will be created as a registration link for the event
[acsevents]
Shows a list of upcoming events
Attributes
json (boolean)
If present and not set to false will generate a script tag containing the JSON for the event data. Also see JavaScript Customization
link (boolean|string)
If present and not set to false will display a link to another page. If the value is a valid URL then it will be used create a link to the specified event details page. (see [acsevent] (singular))
limit (int)
Number greater than 0
The maximum number of events to display
showmidnight (date)
If specified, not set to false, and used with the stop attribute, the stopping point will include midnight of the following date when filtering events that end on a certain date
start (date)
Instead of today’s date, the specified date will be used as the starting point for the events shown
starttime (date)
Instead of 12:00am, the specified time will be used as the starting time on the start date for the events shown
stop (date)
If specfied, the specified date will be used as the stopping point for the events shown.
Also see showmidnight
stoptime (date)
Instead of 11:59pm (really 12am of the next date), the specified time will be used as the stopping time on the stop date for the events shown
[acslocations]
[acscalendars]
JavaScript Customization
In WordPress’ plugin editor, you can modify calvaryacs.js to generate HTML from the JSON generated by [acsevents json=true] shortcodes. Specifically, modify the createEventRow function that is called by the processACSJsonEvents function.
Examples
Queried Event
Click a link under “Events” to see full description (must include “acsid” as URL param)
Events
Featured Events
Men’s / Women’s Events
Outreach Events
Events JSON
Note: Inspect this line and look a the following SCRIPT tag. (access to jQuery is enabled). Also check window.jsonData in Javascript console
Featured Events
Men’s / Women’s Events
Outreach Events
November 5, 2017
November 5, 2017 show midnight
November 5, 2017 after 9am
November 5, 2017 before 11am
August 3, 2018
Calendars
Locations
Calvary Kingdom Castle
19
Calvary Kingdom Classroom
10
Calvary Kingdom Gameroom
38
Calvary Kingdom Main Worship Area
2
Ignite- Ember worship area
12
Ignite-TNT worship area
3
KBA Rm 101-Worship Area
23
KBA Rm 103-Preschool 2
25
KBA Rm 104-K-1st Grade
26
KBA Rm 105-Preschool 1
27
KBA Rm 108-Greeters/Work Rm
30
KBA Rm 109-Worship Area
31
Main building kitchenette
4
Preschool wing classroom
14
Preschool wing conference room
13
ChangeLog
In Progress
Nice to Have
Released