Integrations

Add an AI chatbot to your WordPress site

A WordPress AI chatbot that reads your own pages and answers visitors around the clock, with no plugin of ours to install and update. You paste one line of code into your site's footer; the free WPCode plugin is the easiest way to do that.

Updated October 21, 2026

What you need

  • A WordPress site you can log in to as an administrator (self-hosted WordPress, or a WordPress.com plan that allows plugins).
  • An account with us: sign up with your e-mail, enter your website's address, and copy your line of code from the dashboard.
  • About five minutes.

Your line of code looks like this, with your own site id in it:

<script src="https://7x24hrs.com/widget.js" data-store="site_…" async></script>
Your own line, with your website's id, is in your dashboard after you sign up.

WPCode (listed in the plugin directory as “WPCode – Insert Headers and Footers”) adds code to every page without touching your theme. Its free version is enough.

  1. In your WordPress admin, go to Plugins → Add New, search for WPCode, then press Install Now and Activate.
  2. Go to Code Snippets → Header & Footer.
  3. Paste your line into the Footer box. Code there is printed just before the closing </body> tag on every page.
  4. Press Save Changes.
  5. Open your website in a new tab. The chat button appears in the bottom-right corner, and your dashboard shows Connected.

Option 2: in a child theme, without a plugin

If you prefer not to add a plugin, add the line from your child theme's functions.php. This works for classic themes and block themes alike, because both print the wp_footer hook. Use a child theme: changes to the parent theme are lost when it updates.

  1. Open your child theme's functions.php (through your host's file manager, SFTP, or Appearance → Theme File Editor if it is enabled).
  2. Add a function hooked to wp_footer that prints your line of code, for example add_action('wp_footer', function () { echo '…your line…'; });
  3. Save the file and open your website to check that the chat button appears.

On a classic theme you can also paste the line into footer.php, just before </body>. Again, only in a child theme.

If the chat button does not appear

  • Clear your cache. Caching plugins, your host's cache and a CDN can keep serving the old page. Purge them all after saving.
  • Check “delay JavaScript” options. Some optimisation plugins hold back scripts until the visitor scrolls or clicks. Exclude widget.js from that list if the button only shows up late.
  • Check the domain. The chat answers only on the address you registered (www and without www count as the same). A staging copy on another domain needs that domain added in your dashboard, or test on localhost.
  • View the page source and search for widget.js. If it is not there, the code was not saved where WordPress prints it.

What the assistant does on WordPress

It reads your site's public pages: services, product descriptions, FAQ, shipping and returns pages, about and contact pages. It answers from them, in the language the visitor writes in, and re-reads your site every day, so when you change a page the answers follow. When a question is not covered, it says so instead of guessing, and the question goes on your list of questions it could not answer, so you know which page to improve.

When a visitor asks for a person, has a complaint or needs something done, the conversation comes to you by e-mail, or in Slack, Discord or Telegram if you connect them, and from the chat apps you can answer the visitor live.

It does not log in to your WordPress admin and does not change your site. It only reads what any visitor can read.

Running a shop on WordPress?

If you sell with WooCommerce, the same line of code works and the assistant answers questions about your products and policies from your shop's pages. It cannot look up or change WooCommerce orders. Details are on the WooCommerce page.

Is there a 7x24hrs WordPress plugin?

No. You add one line of code, through WPCode or your child theme. There is nothing of ours to update and nothing that runs inside your WordPress admin.

Will it slow my site down?

The script loads with async, so it does not block your page from showing. The chat window itself only opens when a visitor presses the button.

Does it work on WordPress.com?

It works on any WordPress site where you can add code to the footer. On WordPress.com that needs a plan that allows plugins.

Which pages does it read?

The public pages of your website, starting from the address you enter. Pages behind a login are not read. You can see what was read on your dashboard.

What does it cost?

Websites get 30 conversations a month free, with a small “Powered by 7x24hrs” line in the chat. Paid plans are $19, $59, $199 and $1,099 a month for 90, 275, 1,000 and 6,000 conversations, with no overage charges. See pricing.

Sources