Shortcode Management

Note: While shortcodes are available, the recommended way to display your route filter and results is by using our Gutenberg Blocks. They are easier to use and require no configuration. Please see the Configuration & Setup guide for more details.

Shortcodes are available for users of the Classic Editor or for embedding routes into other plugins or page builders. You can add them to any page, post, or widget that processes shortcodes.


[route_filter_form] & [rfcc_filter_results]

To create a complete, interactive route filtering page, you need to use these two shortcodes together on the same page.

Usage Example

Create a new page and add the following shortcodes to the content area. They must both be on the same page to function correctly.


[route_filter_form]

[rfcc_filter_results]

[rfcc_route_card]

This shortcode is used to display a single, detailed route card. It's perfect for embedding a specific route into a blog post or a dedicated page.

Parameters

Basic Example

Displays a standard card for the route with ID 123.

[rfcc_route_card id="123"]

Advanced Example

Displays a compact card for route 456, hiding the map and setting a specific width.

[rfcc_route_card id="456" show_map="false" compact="true" width="50%"]