Cookie consent

This website uses cookies. By agreeing to all of them, you accept their use for marketing, personalising advertising content, analysing website traffic and other activities related to running our business. You can find detailed information about cookies in our privacy policy.

Skip to content

Installing on WordPress

Three ways to add the Fibly widget to a WordPress-based site.

There are three ways to insert the Fibly script on WordPress. Choose the one that fits your theme and your way of working.

This is the safest method because it survives theme updates.

  1. In your WordPress panel, install and activate the WPCode plugin (formerly Insert Headers and Footers).

  1. Using the menu on the left, select Code Snippets and then Header & Footer.
  2. In the Header field, paste:
    <script async src="https://cdn.fibly.io/widget/fibly-widget.js"></script>
    
  3. Click Save Changes.

Screenshot: the WPCode plugin screen with the snippet pasted into the Footer field.

Method 2: editing the theme

If you use a custom theme (or a child theme), you can edit the footer.php file:

  1. In the panel, go to Appearance, Theme Editor.
  2. Open the footer.php file.
  3. Paste the snippet just before the </body> tag and save.

Note: edits to a theme downloaded from a marketplace won't survive its updates. In that case, use the WPCode plugin (method 1) or create a child theme.

Method 3: the "Custom HTML" block on a single page

When you want the bot to appear only on a specific page:

  1. Open the page in the editor.
  2. Add a Custom HTML block.
  3. Paste the snippet and publish your changes.

Common problems

SymptomCause
The icon doesn't appearA caching plugin's cache; clear it in the plugin's panel.
The script disappears after a theme updateYou edited the main theme instead of a child theme.
A script-src message in the consoleA security plugin is restricting the CSP; see below.

If you use Wordfence or iThemes Security, add https://cdn.fibly.io to the list of allowed script-src and connect-src sources in your Content Security Policy (CSP).

What's next

After pasting the snippet, complete domain verification, then check that the widget is working by following the Installation verification article.