WordPress
Integrate your TIXAE Agent into your WordPress website.
Prerequisites
Before you begin, make sure you have:
A TIXAE Agents account with a configured AI agent
Admin access to your WordPress website
Integration Methods
There are three main ways to integrate your TIXAE Agent widget into WordPress:
Plugin Method
Using the “Insert Headers and Footers” plugin
Theme Editor Method
Directly editing your theme’s header.php file
Elementor Method
Using Elementor’s Custom Code feature
TIXAE Agent Widget Code
Before proceeding with any method, you’ll need your TIXAE Agent widget code:
Remember to replace YOUR_AGENT_ID with your actual TIXAE Agent ID.
Method 1: Using a Plugin
Install Plugin
- Open your
WordPress
dashboard - Go to Plugins > Add New
- Search for Insert Headers and Footers
- Install and activate the plugin by WPBrigade
Access Plugin Settings
Go to Settings > WP Headers and Footers in the sidebar
Add Widget Code
Paste the TIXAE Agent widget code in the header section
Save Changes
Click Save Changes
Method 2: Using the Theme Editor
Editing theme files directly can break your site if not done correctly. Always backup your site before making changes.
Access Theme Editor
- Open your
WordPress
dashboard - Go to Appearance > Theme File Editor
Edit Header File
- In the
Theme Files
section on the right, find and open the header.php file - Locate the closing
</head>
tag
Add Widget Code
Paste the TIXAE Agent widget code just before the closing </head>
tag
Save Changes
Click Update File to save your changes
Method 3: Using Elementor
Access Elementor Custom Code
- Login to WP Admin
- Go to Elementor > Custom Code
Add New Custom Code
Click Add New Custom Code
Configure Custom Code
- Enter a title for your code snippet
- Choose the Location:
<head>
for page level<body>
- Start for beginning of the page’s body<body>
- End for end of the page’s body
- Set the Priority (1-10, lower numbers have higher priority)
- Paste the TIXAE Agent widget code in the code block editor
Set Display Conditions
- In the Publish block, click Edit next to Conditions
- Set the desired conditions for where the widget should appear
Publish
Click Publish to make your changes live
Customization Options
You can customize your widget’s behavior and appearance by adjusting the VG_CONFIG options:
Troubleshooting
If you encounter issues with your TIXAE Agent widget integration:
- Verify that you’ve copied the entire code snippet correctly.
- Double-check that you’ve replaced “YOUR_AGENT_ID” with your actual TIXAE Agent ID.
- Clear your browser cache and refresh your WordPress website to see changes.
- If using a caching plugin, clear the cache after making changes.
- Check for conflicts with other plugins or theme customizations.
If you’re using a security plugin, make sure it’s not blocking the TIXAE Agent scripts from loading.