Before you start
- Your website widget. Kelu makes one for you when you create a knowledge base. Its Install tab shows these steps with your widget id and key already in the code.
- Your site on the widget’s Sites it works on list (Install tab), for example
https://www.example.com.
Add the widget
Install a header and footer plugin
In Plugins → Add New Plugin, search for WPCode, or any plugin that adds code to the site footer. Install and activate it.
Paste the snippet into the footer box
In WPCode, go to Code Snippets → Header & Footer and paste into Footer:Use your widget’s own snippet, or replace
YOUR_WIDGET_ID and kl_pk_... with its values.You can paste the snippet into your theme’s
footer.php instead, just before <?php wp_footer(); ?>. Use a child theme: a theme update overwrites the parent theme’s files. Block themes have no footer.php, so use the plugin.