Skip to content

Shortcodes

For the classic editor, a page builder, or a widget, the run blocks and the Map block are also shortcodes. The block is the better choice where you can use it: it draws while you edit and takes the editor’s colour and spacing controls.

Shortcode Options
[rpkit_schedule] layout="cards" or "table", count="10" (1 to 100)
[rpkit_next_run] none
[rpkit_club] about="yes" or "no", heading="h2" (h1, h2, or none to leave the name out)
[rpkit_routes] order="shortest" (longest, climb, name)
[rpkit_calendar] label="Add the runs to your calendar"
[rpkit_map] id, directions, address, click, course, display="inline" or "popup", height="320", zoom="14"
[rpmap_map] See the Map block

Switches take yes or no.

[rpkit_schedule layout="table" count="20"]
[rpkit_club about="no"]
[rpkit_map id="27" display="popup"]
[rpmap_map lat="54.4609" lng="-3.0886" name="Village hall"]

The event blocks have no shortcodes. In a classic theme the event pages and /races/ draw themselves, so you rarely need one.