WordPress plugin
Code Embed
Code Embed provides a very easy and efficient way to embed code (JavaScript, CSS and HTML) in your posts and pages.
- Active installs
- 10K+
- Rating
- 4.4 / 5
- Version
- 2.6.4
- Last updated
- Aug 21, 2026
- Tested up to
- WordPress 7.1.4
- Requires
- WP 4.9 · PHP 7.4
Health check
Is Code Embed safe to rely on?
Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.
Actively maintained
Last updated on August 21, 2026. Regular updates usually mean bugs and security reports get fixed.
Tested with current WordPress
The author has tested it up to WordPress 7.1.4.
Mixed user ratings
Rated 4.4 out of 5 from 45 ratings on WordPress.org.
Requires PHP 7.4 or newer
Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.
Rank tracker
Where Code Embed ranks in WordPress.org search
Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.
| Keyword | Position | Change | Trend | Current #1 |
|---|---|---|---|---|
| code | ||||
| css | ||||
| embed | ||||
| html | ||||
| javascript | ||||
| code embed |
Checked against the top 100 WordPress.org search results.
Overview
What Code Embed does
IMPORTANT: If updating from an earlier version of the plugin, please check the section named “Plugin Behaviour Changes”, below, for anything which could impact your existing set-up
Code Embed allows you to embed code (JavaScript, CSS and HTML – it can’t be used for server-side code, such as PHP) in a post, without the content being changed by the editor. This is incredibly useful for embedding third-party scripts, etc. The plugin is used by many large sites, including Mozilla.
Add HTML or JavaScript to posts or pages – particularly useful for embedding videos!
Embed in widgets using the Widget Logic plugin.
Global embedding allows you to set up some code in one post or page and then access it from another.
Modify the keywords or identifiers used for embedding the code to your own choice.
Search for embedding code via a simple search option.
Description from the author's listing. Read the full listing on WordPress.org
Screenshots
Code Embed in action



FAQ
Code Embed: questions and answers
What is Code Embed?
Code Embed is a WordPress plugin by David Artiss. Code Embed provides a very easy and efficient way to embed code (JavaScript, CSS and HTML) in your posts and pages.
Is Code Embed free?
Code Embed is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.
How many websites use Code Embed?
WordPress.org reports 10K+ active installations of Code Embed. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.
Is Code Embed still maintained?
Code Embed was last updated on August 21, 2026. The current version is 2.6.4. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.
What does Code Embed require?
Code Embed requires WordPress 4.9 or newer and PHP 7.4 or newer. It has been tested up to WordPress 7.1.4.
Can Codefreex set up or customize Code Embed?
Yes. Codefreex installs, configures and customizes WordPress plugins including Code Embed, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.
Free expert review
Need Code Embed set up, customized or fixed?
Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.