{"id":60,"date":"2026-11-24T10:43:20","date_gmt":"2026-11-24T16:43:20","guid":{"rendered":"https:\/\/beacon-events.duckdns.org\/demo\/shortcodes\/"},"modified":"2026-11-24T10:44:42","modified_gmt":"2026-11-24T16:44:42","slug":"shortcodes","status":"publish","type":"page","link":"https:\/\/beacon-events.duckdns.org\/demo\/shortcodes\/","title":{"rendered":"Shortcodes"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Every shortcode in Beacon Events and Beacon Events Pro, with its options. The block editor&#8217;s <strong>Events<\/strong> block and the Elementor widget have the same options as switches, so you only need these where a shortcode suits you better.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The calendar (free)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><code>[beacon_events]<\/code> shows your events. With no options it is a list of the next 60 days, at most 20 events. Combine options freely, for example <code>[beacon_events view=\"week\" category=\"yoga\" filters=\"1\"]<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Option<\/th><th>What it does<\/th><\/tr><\/thead><tbody>\n<tr><td><code>view=\"list\"<\/code><\/td><td>The view: <code>list<\/code>, <code>week<\/code> (this week as a timetable, starting on the day set under Settings \u2192 General), <code>month<\/code> or <code>day<\/code> (today). Week, month and day have previous \/ next links.<\/td><\/tr>\n<tr><td><code>days=\"60\"<\/code><\/td><td>How many days ahead a list looks.<\/td><\/tr>\n<tr><td><code>limit=\"20\"<\/code><\/td><td>At most this many events in a list.<\/td><\/tr>\n<tr><td><code>category=\"workshops\"<\/code><\/td><td>Only events in this category. Several, comma-separated, show events in any of them: <code>category=\"workshops,talks\"<\/code>.<\/td><\/tr>\n<tr><td><code>venue=\"main-hall\"<\/code>, <code>organizer=\"anna\"<\/code><\/td><td>Only events at this venue, or by this organizer. Same rules as category.<\/td><\/tr>\n<tr><td><code>filters=\"1\"<\/code><\/td><td>Adds a bar above the calendar: category, venue, search, and a List \/ Week \/ Month switch.<\/td><\/tr>\n<tr><td><code>more_filters=\"yes\"<\/code><\/td><td>With <code>filters=\"1\"<\/code>, the bar also offers organizer, day of the week and time of day.<\/td><\/tr>\n<tr><td><code>weekdays=\"sat,sun\"<\/code><\/td><td>Only events on those days of the week.<\/td><\/tr>\n<tr><td><code>times=\"evening\"<\/code><\/td><td>Only events at that time of day: <code>morning<\/code>, <code>afternoon<\/code>, <code>evening<\/code>, <code>night<\/code> or <code>allday<\/code>.<\/td><\/tr>\n<tr><td><code>layout=\"compact\"<\/code><\/td><td>One line per event, for a sidebar or a &#8220;Coming up&#8221; box: <code>[beacon_events layout=\"compact\" limit=\"5\"]<\/code>.<\/td><\/tr>\n<tr><td><code>once=\"1\"<\/code><\/td><td>In a list, a repeating event shows only its next date, so a weekly class doesn&#8217;t fill the box.<\/td><\/tr>\n<tr><td><code>end_times=\"yes\"<\/code><\/td><td>Week and month views show start and end time (9:00 \u2013 10:00) instead of the start only.<\/td><\/tr>\n<tr><td><code>images=\"yes\"<\/code><\/td><td>Shows each event&#8217;s featured image in the week, month or list view.<\/td><\/tr>\n<tr><td><code>show_venue=\"no\"<\/code><\/td><td>Leaves the venue name off each row in a list, week or day view.<\/td><\/tr>\n<tr><td><code>subscribe=\"yes\"<\/code><\/td><td>Adds subscribe links under the calendar (Google Calendar, Outlook.com, Microsoft 365, Apple Calendar or the Outlook app, and the .ics file) for the events it shows.<\/td><\/tr>\n<tr><td><code>print=\"no\"<\/code><\/td><td>Hides the &#8220;Print this month&#8221; link under a month view.<\/td><\/tr>\n<tr><td><code>month=\"2026-12\"<\/code>, <code>week=\"2026-12-07\"<\/code>, <code>day=\"2026-12-07\"<\/code><\/td><td>Opens the month, week or day view on that month or date instead of the current one. For a week, any day in it will do.<\/td><\/tr>\n<tr><td><code>scope=\"current\"<\/code><\/td><td>On a venue, organizer or category page, shows that one&#8217;s events.<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><code>[beacon_event_details]<\/code> prints an event&#8217;s When \/ Where box, for theme templates that leave the page content out. Add <code>id=\"123\"<\/code> to show a particular event&#8217;s details elsewhere.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Moved from another calendar plugin? Its calendar and list shortcodes ([tribe_events], [add_eventon], [events_list], [my_calendar] and others) keep working and show Beacon&#8217;s calendar once that plugin is switched off.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Bookings and tickets (Pro)<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Shortcode<\/th><th>What it does<\/th><\/tr><\/thead><tbody>\n<tr><td><code>[beacon_rsvp]<\/code><\/td><td>The booking form on the event&#8217;s own page. It is added there by itself; use the shortcode only when your theme&#8217;s template leaves the page content out.<\/td><\/tr>\n<tr><td><code>[beacon_rsvp id=\"123\" date=\"2026-12-01\"]<\/code><\/td><td>The booking form for one event on any page (a course page, the home page), opened on that date. Without <code>date<\/code> it opens on the next one.<\/td><\/tr>\n<tr><td><code>[beacon_rsvp from=\"calendar\"]<\/code><\/td><td>Put it under a calendar on the same page. A click on a date opens that date&#8217;s booking form right there instead of the event&#8217;s page. <code>text=\"Pick a class above\"<\/code> changes the hint shown before a date is picked.<\/td><\/tr>\n<tr><td><code>[beacon_my_bookings]<\/code><\/td><td>A logged-in member&#8217;s own bookings: date, event, status, a link to the ticket with its QR code, and a way to cancel a free spot. <code>past=\"1\"<\/code> adds their past bookings, <code>limit=\"10\"<\/code> shows at most 10. Logged out, it shows a link to log in. Put it on a members-only page such as &#8220;My bookings&#8221;.<\/td><\/tr>\n<tr><td><code>[beacon_submit_event]<\/code><\/td><td>A form for visitors to submit events. Submissions arrive as pending events for you to approve.<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Where a booking lands is set under Events \u2192 Tickets \u2192 After booking: the ticket with its QR code, or the same page with &#8220;You&#8217;re on the list&#8221; under the form. Either way the confirmation email has the ticket and its QR code, unless you turn that off under Emails.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Every shortcode in Beacon Events and Beacon Events Pro, with its options. The block editor&#8217;s Events block and the Elementor widget have the same options as switches, so you only need these where a shortcode suits you better. The calendar (free) Tuesday, November 249:30 am \u2013 10:20 am Pilates Mat&nbsp;Northside Studio12:15 pm \u2013 12:45 pm [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-60","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/beacon-events.duckdns.org\/demo\/wp-json\/wp\/v2\/pages\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/beacon-events.duckdns.org\/demo\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/beacon-events.duckdns.org\/demo\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/beacon-events.duckdns.org\/demo\/wp-json\/wp\/v2\/comments?post=60"}],"version-history":[{"count":2,"href":"https:\/\/beacon-events.duckdns.org\/demo\/wp-json\/wp\/v2\/pages\/60\/revisions"}],"predecessor-version":[{"id":62,"href":"https:\/\/beacon-events.duckdns.org\/demo\/wp-json\/wp\/v2\/pages\/60\/revisions\/62"}],"wp:attachment":[{"href":"https:\/\/beacon-events.duckdns.org\/demo\/wp-json\/wp\/v2\/media?parent=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}