Logicanvas Docs
Triggers

Shortcodes

Force a tour onto a page or render a Start tour button.

[lc_product_tour]

Ensures tour assets load for the given ID. Renders a hidden anchor the loader can read.

AttributeDefaultNotes
idrequiredTour post ID
startmanualPassed through as data-lcpt-start mode hint
[lc_product_tour id="12"]
[lc_product_tour id="12" start="manual"]

[lc_product_tour_button]

Renders a button that starts the tour on click (data-lcpt-start="{id}").

AttributeDefaultNotes
idrequiredTour post ID
classlcpt-start-buttonExtra CSS classes
labelStart tourButton text if shortcode content is empty
[lc_product_tour_button id="12"]
[lc_product_tour_button id="12" label="Take the tour"]
[lc_product_tour_button id="12"]Begin walkthrough[/lc_product_tour_button]

Both shortcodes force the tour onto the current page so targeting alone is not required.

On this page