Trip Reviews
[trip_rating_summary] Shortcode
The inquiry button is a floating action button (FAB) fixed to the corner of the screen. Visitors click it to open the inquiry form. You control its label, shape, color, and which page types show it automatically.
Step-by-step guide
Open button settings
- Go to WordPress Admin → WP Travel Kit → InquiryFlow → Settings.
- Click Button & Display in the left nav.

Set appearance
- Button label — text on the pill button (e.g.
Plan My Trip,Get a Quote). - Button shape:
- Pill — shows the label text (recommended)
- Circle — compact icon-only button
- Brand color — background color of the FAB and primary actions in the modal.
Click Save.
Set display rules
Automatic display uses two toggles:
- Show on WP Travel Engine trip pages — shows the FAB on single trip templates (
trippost type). - Show on blog posts and pages — shows on standard posts and static pages.
When neither rule matches the current page, the button stays hidden unless you embed it with a shortcode or block.
Click Save.
Preview on the front end
- Open a trip page (or post/page if enabled).
- Look for the floating button in the bottom corner.
- Click it to open the inquiry modal.

Hide on specific pages (developers)
Site-specific hide/show logic beyond the settings UI requires the developer hooks in Developer documentation — filters like inquiryflow_hide_inquiry_widget and inquiryflow_button_display_rules.
Tips
- Use Circle shape only when your brand is recognizable from the icon alone.
- Match Brand color to your theme primary color for a cohesive look.
- On landing pages where you do not want the global FAB, leave display toggles off and insert the InquiryFlow Button block only where needed.
Common mistakes
- Enabling trip pages but not having WP Travel Engine — the trip toggle only applies to WPTE
tripsingles. - Expecting the button on archive or search pages — default rules cover trip singles, posts, and pages only.
- Changing color in settings but seeing old color — clear page cache and hard-refresh.
Troubleshooting
| Issue | Fix |
|---|---|
| Button not visible | Confirm display toggles; check page type; try shortcode embed |
| Button on wrong pages | Turn off posts and pages if you only want trips |
| Two buttons | Remove duplicate shortcode/block embeds on the same page |
