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:
- Sunday Speaker Salon March 24
- Login Required Test March 28
- Sunday Speaker Salon March 31
- Sunday Speaker Salon April 7
- Sunday Speaker Salon April 14
- Sunday Speaker Salon April 21
- Sunday Speaker Salon April 28
- Table for 8? New Pricing Options Demo May 4
- Sunday Speaker Salon May 5
- RSVPMaker Entrepreneur Of The Year Dinner May 6
- Sunday Speaker Salon May 12
- Sunday Speaker Salon May 19
- Sunday Speaker Salon May 26
- Sunday Speaker Salon June 2
- Cub Scout Camping Trip June 8, June 9, June 10
- Sunday Seminar June 9
- Pay With Stripe Demo July 2
- Parents and Kids Educational Seminar II July 4
- Coupon Codes Test February 16
- Conference with "Early Bird" Pricing November 19, November 20
- Track Meet Demo December 30
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.