To add a WhatsApp widget or icon to your WordPress website:
- Edit the widget and click “Save and preview.”
- Copy the script from the preview page.
- Paste it into the header section of the WP Code Insert Headers and Footers plugin.
- Save changes and purge the cache if necessary.
- Adjust the margin of the widget in the chat button options if needed.
- Save the widget and purge the cache again to see the updated widget.