WordPress

Add the April chat widget to your WordPress website.

Add April to your WordPress site in minutes.

  1. In your WordPress admin, go to AppearanceTheme File Editor
  2. Select your theme's footer.php file
  3. Paste the April embed code just before the </body> tag:
<script data-chatbot="YOUR_CHATBOT_ID" src="https://theapril.app/widget.js"></script>
  1. Click Update File

Method 2: Using a Plugin

If you prefer not to edit theme files:

  1. Install the Insert Headers and Footers plugin (or similar, like WPCode)
  2. Go to the plugin's settings
  3. Paste the April embed code in the Footer Scripts section
  4. Save changes

Method 3: WordPress Block Editor

For specific pages only:

  1. Edit the page where you want the widget
  2. Add a Custom HTML block
  3. Paste the April embed code
  4. Publish or update the page

Verifying

Visit your WordPress site and check that:

  • The chat bubble appears in the bottom corner
  • Clicking it opens the chat widget
  • You can send and receive messages

Troubleshooting

  • Widget not showing? Clear your WordPress cache (and any CDN cache)
  • Caching plugins interfering? Add the April script URL to your cache plugin's exclusion list
  • Child theme? Make sure you're editing the correct theme's footer file