Our process

Wordpress

Step-by-Step Guide to Adding AIChatAssist Script to a WordPress Website

  • 1
    cover-bg

    Log in to WordPress

    • Navigate to the Login Page: Open your web browser and go to yourwebsite.com/wp-admin.
    • Log In: Enter your username and password to access the WordPress dashboard.
  • 2
    cover-bg

    Access Theme Editor

    • Open Theme Editor: In the WordPress dashboard, navigate to "Appearance" > "Theme Editor."
    • Backup Theme: Before proceeding, it's essential to back up your current theme. To do this, click on the "Download" button to save a copy of your theme files to your computer. This ensures you can restore your theme if something goes wrong during the editing process.
  • 3
    cover-bg

    Locate the Header File

    • Find header.php: In the Theme Editor, on the right-hand side, locate and click on "header.php" under the Theme Files section. This file controls the header section of your WordPress theme.
  • 4
    cover-bg

    Add the AIChatAssist Script

    • Copy Script: Go to your AIChatAssist dashboard or configuration panel and copy the provided script code.
    • Paste Script: Return to the Theme Editor. Locate the closing tag in the header.php file. Paste the AIChatAssist script code just before this tag to ensure it loads correctly on every page of your website.
  • 5
    cover-bg

    Save Changes

    • Update File: After pasting the script, click the "Update File" button at the bottom of the Theme Editor screen to save your changes. This action embeds the AIChatAssist script into your WordPress theme.
  • 6
    cover-bg

    Verify the Integration

    • Check Your Site: Visit your website in a new browser tab or window. Navigate through several pages to ensure that the AI chatbot appears and functions as expected. You should see the chatbot interface or widget on each page where the script was added.
  • 7

    Test the Chatbot

    • Verify Integration: After adding the script either directly or through a plugin, revisit your website to confirm that the AI chatbot is properly integrated and functioning across different pages and scenarios.
  • 8

    Troubleshooting

    • Check Script Integration:
    • If the AI chatbot is not appearing or functioning correctly after following the above steps, follow these checks:
      • Verify Script Placement: Double-check that the AIChatAssist script code is correctly placed just before the closing tag in the header.php file (or in the plugin settings if using a plugin).
      • Syntax and Typos: Ensure there are no syntax errors or typos in the script code that could prevent it from executing properly.
      • Script Loading: Use browser developer tools (usually accessed by right-clicking on your website and selecting "Inspect" or pressing Ctrl+Shift+I) to check if the script is loading without errors. Look for any console errors related to the AIChatAssist script.
    • Check for Conflicts:
      • Plugin and Theme Conflicts: Disable other plugins one by one to check if there's a conflict with AIChatAssist. Also, switch to a default WordPress theme (like Twenty Twenty-One) temporarily to see if the issue is theme-related.
    • Restore Backup:
    • If adding the script caused unexpected issues and you previously backed up your theme files:

      • Restore Backup: Re-upload the original header.php file (or revert the plugin settings) from your backup to return your site to its previous state.
    • Seek Support:
    • If troubleshooting on your own doesn’t resolve the issue:

      • Plugin Developer: Contact the developer of the Insert Headers and Footers plugin (if used) or any other relevant plugins that could affect script execution.
      • WordPress Theme Support: Reach out to the support team for your WordPress theme if you suspect theme-related issues.
      • WordPress Community: Visit WordPress support forums or communities for additional help and advice.
    • Contact AIChatAssist Support:
    • If issues persist and seem related to the functionality of the AI chatbot script itself:

      • AIChatAssist Support: Contact AIChatAssist support directly through their official channels. Provide details such as the version of the script you're using and any error messages encountered for faster assistance.

Subscribe to our newsletter

Join our community and be part of the AI revolution.

Success message content goes here