WordPress
Add the April chat widget to your WordPress website.
Add April to your WordPress site in minutes.
Method 1: Theme Footer (Recommended)
- In your WordPress admin, go to Appearance → Theme File Editor
- Select your theme's
footer.phpfile - Paste the April embed code just before the
</body>tag:
<script data-chatbot="YOUR_CHATBOT_ID" src="https://theapril.app/widget.js"></script>
- Click Update File
Method 2: Using a Plugin
If you prefer not to edit theme files:
- Install the Insert Headers and Footers plugin (or similar, like WPCode)
- Go to the plugin's settings
- Paste the April embed code in the Footer Scripts section
- Save changes
Method 3: WordPress Block Editor
For specific pages only:
- Edit the page where you want the widget
- Add a Custom HTML block
- Paste the April embed code
- 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