WordPress Installation
Connect Contact Form 7, WPForms, or another WordPress form to localbot, or install the full localbot form.
Connect localbot to an existing WordPress form notification, or install the full localbot form with the plugin or a theme snippet.
Start with the current WordPress form
If this site already uses Contact Form 7, WPForms, Gravity Forms, Ninja Forms, or another working form plugin, add the unique localbot email address as another notification recipient first. Keep the current form, but make sure its notification email includes the lead's name, phone number, email, message, page URL, and any SMS consent language already shown on the form.
Use the full localbot form when the owner wants a better intake surface on the website instead of relying on a static contact page form.
Existing form time: About 1 minute
Install the full localbot form
The steps below add the floating localbot form globally.
Full form time: About 10 minutes
Option A: Plugin (recommended)
Install the localbot plugin
Log in to your WordPress admin panel (yoursite.com/wp-admin). Go to Plugins → Add New. Search for "localbot". Click Install Now, then Activate.
Enter your localbot ID
Go to Settings → localbot. Enter the form ID from your localbot dashboard. Click Save. The plugin handles the rest automatically.
Option B: Manual installation
If you prefer not to use the plugin, you can add the code manually.
Get your embed code
Log in to your localbot dashboard and copy the localbot form embed code.
Edit your theme's footer
In WordPress admin, go to Appearance → Theme File Editor. Select your active theme and open footer.php. Find the </body> tag and paste the embed code directly above it:
<?php wp_footer(); ?>
<script src="https://www.localbot.io/api/widget/YOUR_WIDGET_ID" async></script>
</body>
</html>Click Update File.
Manual installation will be overwritten when you update your theme. For persistence, use a child theme or the plugin method.
Targeting a specific page or location
To show the localbot form only on certain pages, use a shortcode (plugin) or add the localbot-contact div to a specific page template. See the HTML guide for the targeting div.
Verify
Visit your website. The localbot form should appear. Submit a test message and check your phone for the SMS alert.
Troubleshooting
- Plugin not found in search: The plugin may not be listed yet. Use manual installation instead.
- localbot form doesn't appear after plugin install: Go to Settings → localbot and verify the ID is saved correctly.
- localbot form disappeared after theme update: If you used manual installation, the theme update overwrote your changes. Reinstall using the plugin method or a child theme.
Last updated: 2026-05-23. Maintained by Benjam Indrenius.