WordPress Shortcodes FAQ

For your convenience, we have created several powerful WordPress shortcodes to make it incredibly easy to implement our conversion tools directly on your site. Check out the frequently asked questions below to see how to deploy them.

How do I add a shortcode to my WordPress page?

  1. Find the page or post where you want the tool to appear and open it in Edit mode.
  2. Place your cursor exactly where you want to add the tool.
  3. Click the Toggle block inserter button, then search for and select Shortcode.
  4. In the shortcode block, simply enter the specific code for the tool you want to use.

How do I automatically launch Instant Lead Capture on page load? You can configure the Instant Lead Capture tool to appear on page load via the page settings in WordPress, but you can also trigger it manually with the following shortcode: [breadbutter-continuewith]

(Note: This specific shortcode supports numerous advanced parameters like destination_url, button_theme, delay_seconds, and success_event_code to perfectly tailor the experience!)


How do I embed the Account Widget directly on a page? While you can easily add the Account Widget to your global navigation menu, you can also embed it directly onto any specific page using this shortcode: [breadbutter-profile-widget]


How do I embed the Subscription Booster? The standard Subscription Booster easily floats over your page based on your global settings, but you can also embed it permanently on a page using this shortcode: [breadbutter-newsletter]

If you prefer to trigger the Subscription Booster from a specific button click instead, use this shortcode: [breadbutter-newsletter-button]button[/breadbutter-newsletter-button] (Simply replace the word "button" right before the closing tag with your desired display label)


How do I launch Contact Intelligence from a button? You can launch the highly optimized Contact Intelligence dialog from any custom button anywhere on your site: [breadbutter-contactus-button css_class="custom"]button[/breadbutter-contactus-button] (You can optionally specify a CSS class to perfectly match the button to your site branding)


How do I gate my existing forms with the Form Booster? The Form Booster protects your forms so that users need to convert before they can submit their information. Add this shortcode to any page containing a form: [breadbutter-form-snippet email_option_overwrite=local_login]

You can also set custom text within the sign in window if you want to display a highly specific message to the user: [breadbutter-form-snippet first_paragraph=first_paragraph second_parahraph=second_paragraph third_paragraph=third_paragraph expanded_third_paragraph=expanded_third_paragraph email_option_overwrite=local_login]


How do I trigger a User Event from a button click? You can quickly and easily add a button to your page that creates a custom user event the exact moment it is clicked: [breadbutter-customevent-button css_class="custom" event="your_event"]button[/breadbutter-customevent-button]

You can additionally specify a dedicated callback function or a custom redirect URL for that exact same button:

[breadbutter-customevent-button css_class="custom" event="your_event" redirect="http://www.yoursite.com/page"]button[/breadbutter-customevent-button]

[breadbutter-customevent-button css_class="custom" event="your_event" callback="runFunction"]button[/breadbutter-customevent-button] (Note: You can only use either a callback or a redirect parameter in a single shortcode, never both at the same time)


How do I record a User Event automatically on page load? Add this simple shortcode to any page, and the specified event will be created in your User Journey the moment a visitor loads the page:[breadbutter-customevent event=event_code /]


How do I add a simple Logout button?If you want to add a dedicated logout button to any specific location on your website, simply use this shortcode. When clicked, users will be securely logged out of your WordPress site and their active session will be completely reset:

[breadbutter-logout-button]

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.