Wordpress integration
Let's cover two easy ways to add the code snippet to your Wordpress website.
To proceed, make sure you registered your website at https://expertpal.io/button and got a widget ID per email. Here is how you can get your code snippet if you already have a widget ID or would like to change widget look, text or position.
Now as we know you have the code snippet let's insert it into your Wordpress website and we are done!
Option 1: Theme Editor
Go to your WordPress admin dashboard.
Navigate to
Appearance > Theme Editor.Open the
functions.phpfile of your active theme (on the right).
Option 2: Integration using a plugin
To make sure you don't mess up the functions.php file, use one of the Wordpress Plugins that allow you to do the same as above in an easy and safe way. Most likely you already have a plugin installed that allows you to add custom JS code. If not, here are some plugins you can use, pick one:
We will use Simple Custom CSS and JS in this demo. Let's go!
Go to
Plugins->Install New Pluginin your WP DashboardIn search bar type
Simple Custom CSS and JSFind that plugin in the results, click
Install Nowand thenActivateThe plugin has been installed. Click on the left menu
Custom JS & CSS->Add Custom JSCopy and paste expertpal code snippet without the <script></script> tags into the window, give it a name and click
Publish. The widget will show up on your product pages. See example below.


Last updated