Skip to main content
Add your NeuralTalk AI chatbot to your WordPress website to provide instant customer support and improve user engagement.

Prerequisites

  • A WordPress website (self-hosted or WordPress.com)
  • Your NeuralTalk AI assistant created and configured
  • Admin access to your WordPress site

Step 1: Get Your Chatbot Code

  1. Log in to your NeuralTalk Dashboard
  2. Navigate to your AI assistant
  3. Go to the Website Integration section
  4. Copy the provided embed code

Step 2: Add to WordPress

  1. Log in to your WordPress admin dashboard
  2. Go to Appearance > Theme Editor
  3. Select your active theme
  4. Open the footer.php file
  5. Paste your chatbot code just before the closing </body> tag
  6. Click Update File

Method 2: Using a Plugin

  1. Install a โ€œCustom HTMLโ€ or โ€œCode Injectionโ€ plugin
  2. Add the chatbot code to the footer section
  3. Save and activate the plugin

Method 3: Using functions.php

For advanced users, add the code to your themeโ€™s functions.php file:
function add_neuraltalk_chatbot() {
    echo '<!-- Your NeuralTalk chatbot code here -->';
}
add_action('wp_footer', 'add_neuraltalk_chatbot');

Step 3: Customize Appearance

  1. Return to your NeuralTalk dashboard
  2. Go to Styling settings
  3. Customize colors, position, and behavior to match your site
  4. Preview changes in real-time

Step 4: Test Your Integration

  1. Visit your WordPress site
  2. Look for the chatbot widget (usually bottom-right corner)
  3. Test the conversation flow
  4. Verify that responses match your training

WordPress-Specific Features

WooCommerce Integration

Connect with WooCommerce for e-commerce support

Contact Form 7

Integrate with popular contact form plugins

WooCommerce Products

Enable product recommendations and support

Blog Content

Train chatbot on your blog content for better responses

Best Practices for WordPress

Performance Optimization

  • Use a caching plugin (WP Rocket, W3 Total Cache)
  • Ensure the chatbot loads asynchronously
  • Monitor site speed after integration

SEO Considerations

  • The chatbot doesnโ€™t affect your SEO
  • Consider adding structured data for better search visibility
  • Test mobile responsiveness

Security

  • Keep your WordPress site updated
  • Use secure hosting
  • Regularly backup your site

Troubleshooting

Chatbot Not Appearing

  • Check if the code was added correctly
  • Clear any caching plugins
  • Verify the code is placed before </body> tag

Theme Conflicts

  • Test with a default WordPress theme
  • Check for JavaScript errors in browser console
  • Contact your theme developer if issues persist

Plugin Conflicts

  • Deactivate other plugins temporarily to test
  • Check for JavaScript conflicts
  • Use a staging site for testing

Advanced Configuration

Custom Post Types

Train your chatbot on custom post types:
  • Products
  • Services
  • Portfolio items
  • Team members

Multisite Support

For WordPress Multisite installations:
  • Add the code to the network admin
  • Configure per-site settings
  • Use different chatbots for different sites

API Integration

Connect with WordPress REST API:
  • Fetch dynamic content
  • Update chatbot responses
  • Sync with WordPress data
Need help with your WordPress integration? Contact our support team for personalized assistance. For quick resolution and community support, join our Discord community.
โŒ˜I