Wordpress
WordPress is the world's most popular CMS, powering over 40% of all websites with flexible themes, plugins, and a massive community.
Install Translate.website on Wordpress
Running your website on WordPress? You don't need custom development or complex configurations to make your WordPress site multilingual.
Using the WPCode plugin (formerly Insert Headers and Footers), you can safely inject the Translate.website script across your entire WordPress site in just a few clicks. It's the cleanest, safest, and most maintainable method — no child theme required, no theme file editing, no risk to your existing setup.
Once set up, Translate.website will automatically detect and translate your content in real time for visitors in different languages.
This guide walks you through the entire setup from start to finish.
Configure WPCode to Enable Translate.website
The WPCode plugin allows you to inject custom JavaScript across your entire site without modifying theme files or touching any WordPress core files. Here's exactly how to set it up.
Before You Begin
- Make sure you have an active WordPress site with Administrator access.
- Have your Translate.website snippet ready — you can find it in your Translate.website dashboard after signing up.
- No coding knowledge is required — this method uses a plugin with a simple UI.
Step 1: Login to Your WordPress Admin Dashboard
Open your browser and visit yourwebsite.com/wp-admin. Enter your admin username and password and click Log in. Once logged in, you'll see the WordPress Dashboard with the admin menu on the left side.
- Open your browser and go to your WordPress site URL followed by /wp-admin (e.g., yourwebsite.com/wp-admin).
- Enter your admin username and password and click Log in.
- Once logged in, you will see the WordPress Dashboard with the admin menu on the left side.
- Make sure your account has Administrator access — you'll need it to install and configure plugins.
Step 2: Install & Activate WPCode Plugin
From the left admin menu, click Plugins → Add New. In the search bar at the top right, type WPCode. Find the plugin called WPCode – Insert Headers and Footers + Custom Code Snippets. Click Install Now, then Activate.
- From the left admin menu, click Plugins → Add New Plugin.
- In the search bar, type WPCode.
- Find WPCode – Insert Headers and Footers + Custom Code Snippets and click Install Now.
- After installation completes, click Activate Plugin.
Step 3: Add a New Code Snippet
In the left admin menu, click Code Snippets (added by WPCode) → Add New. Click Custom Code (New Snippet). Set the Code Type to JavaScript Snippet. Paste your Translate.website snippet into the code editor. Set Location to Site Wide Header. Toggle the snippet to Active. Click Save Snippet.
- In the left admin menu, click Code Snippets → Add New.
- Click Custom Code (New Snippet).
- Set the Code Type to JavaScript Snippet.
- Paste your Translate.website snippet into the code editor. Your snippet is available in your Translate.website dashboard.
- Set Location to Site Wide Header.
- Toggle the snippet to Active.
- Click Save Snippet.
🚀 What Happens After Saving?
Once you click Save Snippet, WPCode will immediately begin injecting the Translate.website script into the <head> of every page on your WordPress site. The script will automatically detect the page language and present a translation widget to users browsing in a language that isn't your default.
You don't need to restart WordPress or clear core caches — the change takes effect immediately.
⚠ Recommended: Clear Cache
If you're using a caching plugin, clear your site cache after saving to ensure the script loads immediately for all visitors.
- WP Rocket: Dashboard → Clear Cache
- W3 Total Cache: Performance → Purge all caches
- LiteSpeed Cache: LiteSpeed Cache → Purge All
- Cloudflare: Caching → Configuration → Purge Everything
🔁 Safe & Reversible
This integration is completely reversible. To remove Translate.website from your WordPress site, simply go back to Code Snippets, find the snippet you created, and toggle it to Inactive — or delete it entirely. No theme files were modified, no core files were changed, and nothing was permanently altered in your WordPress installation.
💡 Why This Method Is Recommended
- Theme updates won't remove your snippet — it lives in the WPCode plugin, separate from your theme.
- No child theme required — you don't need to set up a child theme just to add a script.
- Safe rollback — disable or delete the snippet at any time with one click.
- Clean implementation — WPCode is trusted by 1M+ WordPress sites and is the industry-standard method.
Ready to go multilingual with WordPress?
It takes less than 5 minutes. No developer needed — just your WordPress admin credentials and your Translate.website snippet.