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
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
Instead of today’s date, the specified date will be used as the starting point for the events shown
Instead of 12:00am, the specified time will be used as the starting time on the start date for the events shown
If specfied, the specified date will be used as the stopping point for the events shown.
Also see showmidnight
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
ChangeLog
In Progress
Nice to Have
- namespacing functions
Released
- v1.7
- v1.6.1