Shortcode + Plugin Settings Guide
To use lead capture on your site, first activate the Thessie LBP LeadGen plugin.
You have two layers of control:
- Shortcode attributes (per page/post customization)
- Plugin settings (global behavior across the site)
1) Shortcode Usage
Use this shortcode where you want the lead form:
[thessie-leads]
Supported locations:
- Pages
- Posts
- Gutenberg Shortcode block
- Elementor Shortcode widget
- Classic editor content
2) Shortcode Attributes (Per-Placement Controls)
You can customize each form instance with attributes:
button— Button text (example:button="Book now")tax— Tax percent (example:tax="20")currency— Currency symbol (example:currency="€")name— Show/hide Name field ("1"show,"0"hide)phone— Show/hide Phone field ("1"show,"0"hide)email— Show/hide Email field ("1"show,"0"hide)showprice— Show/hide price in button ("1"show,"0"hide)coupon— Coupon code (example:coupon="SAVE10")color— Accent color in HEX (example:color="#1e73be")bookingpage— Manual booking URL (example:bookingpage="https://yourwebsite.com/book")
Shortcode Examples
[thessie-leads]
[thessie-leads button="Get a quote"]
[thessie-leads phone="0" email="1" name="1"]
[thessie-leads button="Book now" currency="€" tax="20" showprice="1" coupon="WELCOME10"]
3) Plugin Settings (Global Controls)
Go to:
WordPress Admin → Settings → LBP LeadGen settings
You’ll see tabs for:
- Settings
- Leads Popup
- Exit-intent Popup
4) “Settings” Tab Options (Global Form Behavior)
- Enable acceptance checkbox
Adds a consent checkbox to lead forms. - Enable acceptance text
Sets the consent/legal text shown with the checkbox. - Disable phone input mask for USA numbers
Turns off US phone formatting mask when needed. - Enable e-mail notification for every lead
Sends email alerts when a new lead is submitted. - E-mail to get lead notification
Destination email address for lead alerts. - LBP API Key
API key used to connect with LocalBookerPro and save the lead there.
5) “Leads Popup” Tab Options
- Enable popup
Globally turn popup on/off. - Popup button text
CTA label for popup trigger button. - Popup button color
Color of popup button. - Popup trigger
Trigger selector/identifier used to open popup behavior. - Booking page URL
URL used for popup booking flow.
6) “Exit-intent Popup” Tab Options
- Enable popup
Enable/disable exit-intent popup. - Title
Headline shown in exit-intent popup. - Button text
CTA text used in exit-intent popup. - Button color
CTA button color. - Booking page URL
URL used for popup CTA destination/flow. - Coupon code
Coupon/promo code displayed or applied in this flow.
7) Recommended Setup Pattern
Step A — Set global defaults in plugin settings
- Add acceptance text
- Set lead notification email
- Add LBP API key
- Configure popup/exit popup if you use them
Step B — Use shortcode per page
Start simple:
[thessie-leads button="Get a quote"]
Then customize per campaign (coupon, tax, color, booking URL, etc).
8) Practical Notes
- Use
"1"= enabled and"0"= disabled for toggle-style shortcode options. - Prefer global settings for policy/compliance and notification behavior.
- Use shortcode attributes for page-level A/B tests and campaign tweaks.
- If
bookingpageis omitted in shortcode, plugin attempts to resolve booking page automatically.