Forum in maintenance, we will back soon 🙂
Making the WordPress AI Chatbot Sitewide?
Hi,
I watched the video of creating a free AI Chatbot in WordPress and it worked relatively easy.
However, I am trying to make it sitewide so it shows on all pages of the website and I find that impossible to do, unfortunately ChatGPT is of no help.
First I tried to make a child-theme, add the php, css and javascript there, while pasting the html in footer.php. So far this does nothing, hoping anybody have an easier and most importantly possible way to make this bot show on all pages..Â
Thank you
@frederik have you tried putting the shortcode in the footer of the site? I'm assuming the footer is on each post.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@ssadvisor I have tried adding the following to my theme's footer.php file through Theme File Editor
<!-- Chatbot container added here -->
<div id="chatbot-container">
<div class="lwh-open-cbot">
<div class="chat__messages"></div>
<div class="loading" style="display: none;"></div>
<div class="chat__status"></div>
</div>
</div>
<?php wp_footer(); ?>
No success tho. What is the shortcode I should attempt? 🙂
These ones:
Â
Hey, I'm struggling to add the chatbot on all the pages. Can anyone explain in detail?
@google-mbvsuraj add the files i showed above in all pages in the footer, then it would appear on all pages.
-
WordPress 5 minutes chatbot dont work for me
5 months ago
-
Voice/Doc Chatbot
6 months ago