To set up a listing of events, include one or more of the following short codes. These are meant to be used in a standalone page, rather than a blog post.
The Events page on this website uses two shortcodes. The first one sets up the calendar that appears at the top of the page. The second one sets up the loop for displaying upcoming events.
[rsvpmaker_upcoming no_events=”Check back soon.”]
[rsvpmaker_upcoming calendar=”1″] displays the calendar, followed by the index of upcoming events.
[rsvpmaker_upcoming type=”featured”] Displays only the events of the specified event type (“featured” type available by default as a checkbox on the event editing screen).
You can also use:
I often use this on the front page of a website where I want a simple events listing. The output looks like this:
RSVPMaker also provides a widget you can use to display upcoming events in your sidebar.
Update for version 2.5.5
The rsvpmaker_upcoming shortcode now accepts limit=”x” (show x number of events) as an attribute. Example [rsvpmaker_upcoming limit=”3″] would retrieve a maximum of 3 posts.
You can also use add_to_query=”myquerystring” to modify the query using query_posts() query string syntax. Example: [rsvpmaker_upcoming add_to_query=”p=99″] would retrieve a single rsvpmaker post with the ID of 99. This appends the parameters you provide to the default query string, so the whole thing would be something like post_type=rsvpmaker&post_status=publish&p=99.