localbot Docs
Installation

WordPress Installation

Add localbot to your WordPress site using the plugin or by manually editing your theme.

Add localbot to your WordPress site using the plugin or by manually editing your theme.

Time: Under 2 minutes

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 widget ID

Go to Settings → localbot. Enter your widget ID from the 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 embed code.

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://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 widget 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.

Troubleshooting

  • Plugin not found in search: The plugin may not be listed yet. Use manual installation instead.
  • Widget doesn't appear after plugin install: Go to Settings → localbot and verify your widget ID is saved correctly.
  • Widget disappeared after theme update: If you used manual installation, the theme update overwrote your changes. Reinstall using the plugin method or a child theme.

On this page