Do you want to integrate the HelpSpace widget into your WordPress website to provide your customers with quick support access? In this article, we'll show you how to embed the widget in WordPress with minimal effort.
Why the HelpSpace Widget?
The HelpSpace widget allows your customers to submit support requests directly on your website and browse help articles. It enhances customer communication and reduces support requests through intelligent self-service options.
Method 1: Embedding JavaScript Code Directly in WordPress
Step 1: Retrieve the HelpSpace Widget Code
Log in to your HelpSpace account.
Navigate to Settings > Widget.
Copy the provided JavaScript code.
Step 2: Embed the Code in WordPress
There are different ways to insert JavaScript into WordPress. The easiest method is using a plugin.
Option A: Using the "WPCode" Plugin
The free WPCode plugin makes it easy to embed JavaScript into your WordPress site.Install and activate the "WPCode" plugin.
Go to Code Snippets > Header & Footer.
Paste the HelpSpace widget code into the Scripts in Footer field.
Save the changes.
Refresh your website and test the widget.
Option B: Embedding Directly in the Theme (Advanced)
If you don't want to use a plugin, you can embed the code directly in your theme.In WordPress, go to Appearance > Theme Editor.
Open the
footer.php
file.Insert the HelpSpace widget code before the closing
</body>
tag.Save the changes and check the functionality.
Note: This method may be lost when updating the theme. Use a child theme to retain changes permanently.
Method 2: Adding the HelpSpace Widget via a Plugin
Some helpdesk plugins offer native integrations for external widgets. If you are already using a relevant plugin, check if you can insert the HelpSpace code there.
Conclusion
Embedding the HelpSpace widget in WordPress is simple and can be done in various ways depending on technical experience. Using a plugin like "WPCode" is the quickest and safest method. Those who prefer direct code embedding can do so in the footer of their theme.
After integration, test whether the widget loads correctly and ensure it provides the desired functionality.