Updated List of Event Display Shortcodes

RSVPMaker provides the following shortcodes for listing events, listing event headlines, and displaying a calendar with links to events. WordPress shortcodes are placeholders you can add to a post or a page that cause dynamic content to be added when the page is displayed — in this case, an event listing or a calendar with links to individual events.

Since the last time I updated this documentation, several new shortcodes such as rsvpmaker_calendar have been added. Also, some of the attributes used to modify the display have not been well documented before now.

[rsvpmaker_upcoming] displays the index of upcoming events. If an RSVP is requested, the event includes the RSVP button link to the single post view, which will include your RSVP form.

[rsvpmaker_upcoming calendar=”1″] displays the calendar, followed by the index of upcoming events.

Other shortcode attributes can be added in the format attribute_name=”attribute_value”

  • type=”type_name” displays only the events with the matching event type, as set in the editor (example: type=”featured”)
  • no_event=”message” message to display if no events are in the database (example=”We are workin on scheduling new events. Check back soon”)
  • one=”ID|slug|next” embed a single message, identified by either post ID number, slug, or “next” to display the next upcoming event. (examples one=”123″ or one=”special-event” or one=”next”)
  • limit=”posts_per_page” limits the number of posts to display. If not specified, this will be the same as the number of posts displayed on your blog index page. (example: limit=”30″)
  • add_to_query=”querystring” adds an arbitrary command to the WordPress query (example: add_to_query=”posts_per_page=30&post_status=draft” would retrieve 30 draft posts)
  • hideauthor=”1″ set this to prevent the author displayname from being shown at the bottom of an event post.

[rsvpmaker_calendar] displays the calendar by itself.

[rsvpmaker_calendar nav=”top”] displays the calendar with the next / previous month navigation on the top rather than the bottom. By default, navigation is displayed on the bottom.

Other attributes: type=”type_name” and add_to_query=”querystring” also work with rsvpmaker_calendar.

[event_listing format=”headlines”] displays a list of headlines

[event_listing format=”calendar”] OR [event_listing calendar=”1″] displays the calendar (recommend using [rsvpmaker_calendar] instead)

Other attributes:

  • limit=”posts_per_page” limits the number of posts to display. If not specified, this will be the same as the number of posts displayed on your blog index page. (example: limit=”30″)
  • past=”1″ will show a listing of past events, most recent first, rather than upcoming events.
  • title=”Title Goes Here” Specifies a title to be displayed in bold at the top of the listing.

Contents for an events page.

There is also another family of shortcodes used as the basis for RSVP form templates, documented here.

3 thoughts on “Updated List of Event Display Shortcodes”

  1. I find it causes confusion to include both the RSVP form and a comment form on the same post. So I recommend creating a single-rsvpmaker.php template where the code for the comments display is edited out. Was that done on your site? If so, you should be able to add it back.

  2. I have not made an rsvpmaker.php template on the site. Where will I find the code for the comments? So that I may edit this to allow the code to be displayed. Also I noticed that the WordPress Shares [Facebook, Twitter etc..] Are also missing. These would also be helpful if I was able to activate these like in a standard post. Alternatively I could use a shortcode in a post to display an Event post within it?

Leave a Reply