Trip Reviews
[trip_rating_summary] Shortcode
Embed the InquiryFlow button on any page, post, or widget area — independent of the global display rules. Use the Gutenberg block in the block editor or shortcodes in classic content.
Step-by-step guide
Use the Gutenberg block
- Edit a page or post in the block editor.
- Click + to add a block.
- Search for InquiryFlow Button.
- Insert the block — no block settings required; it uses your global button and form settings.
- Publish or Update the page.
The block renders the same floating widget mount point as the automatic FAB. On pages where you embed the block, assets load even if global display rules would hide the button elsewhere.
Block name: inquiryflow/button
Category: InquiryFlow
Use shortcodes
Add either shortcode to post content, a classic widget, or a page builder that supports shortcodes:
[inquiryflow]
or
[inquiryflow_button]
Both are identical — they output the inquiry widget root element and enqueue front-end scripts.
No attributes are supported on these shortcodes.
Trip Builder (Pro only)
Pro adds a separate embed for the multi-step Trip Builder:
[inquiryflow_trip_builder]
Block: Trip Builder (inquiryflow/trip-builder). See Trip Builder.
Placement tips
| Goal | Approach |
|---|---|
| Button on one landing page only | Add block/shortcode; disable global posts and pages display |
| Button in footer sitewide | Shortcode in footer widget (if theme supports) |
| Trip pages only | Enable Show on trip pages; skip embed |
Tips
- One embed per page is enough — duplicate mounts can cause duplicate widgets.
- The widget is a floating FAB; the block does not render a visible inline button in the editor — preview on the front end.
- Pair with Inquiry button display settings for automatic vs manual placement.
Common mistakes
- Expecting shortcode attributes for label or color — use Settings → Button & Display instead.
- Adding the block in the editor and enabling global display on the same page — may show redundant behavior; test the front end.
- Using Trip Builder shortcode without Pro license — requires active InquiryFlow Pro.
Troubleshooting
| Issue | Fix |
|---|---|
| Shortcode shows as plain text | Use a Shortcode block or classic editor shortcode support |
| Widget not appearing | View front end, not editor; check script conflicts |
| Block missing in inserter | Confirm InquiryFlow is active; search “InquiryFlow” |
