Code Embed
View on WordPress.orgScores higher than 69% of indexed plugins
About
Code Embed provides a very easy and efficient way to embed code (JavaScript, CSS and HTML) in your posts and pages.
Security History
What It Does
Code Embed lets you drop JavaScript, CSS, and HTML snippets into posts and pages using a simple custom field, so you can paste embed code from third-party services or write your own without editing theme files. It works via a shortcode wrapper, which means the embedded code stays intact when you switch between the visual and text editors.
Who It's For
This plugin suits developers and technical writers who need to embed custom scripts or styling snippets inside specific posts or pages rather than globally. It is a good fit for programming blogs, tutorial sites, and documentation pages where each post needs its own demonstration code.
Who Should Skip It
If you only need to inject code site-wide into headers, footers, or functions.php, you are better served by WPCode or a dedicated snippets plugin. Casual bloggers and non-technical users will rarely need this level of manual code embedding.
The Bottom Line
Code Embed does one specific thing well: embedding code snippets inside individual posts and pages without fuss. The small install base and zero support threads mean it is a quiet, maintained tool rather than a thriving community project. If you need per-post code embeds and nothing more, it is a clean choice; if you need site-wide snippet management, look at WPCode instead.
Related Plugins
Pick WPCode if you want site-wide header and footer scripts plus a full snippet library with conditional logic, which Code Embed does not provide.
Choose Code Snippets if you need to run PHP snippets in functions.php style rather than embed visible code inside post content.
Head and Footer Code is a lighter alternative if your only need is global script injection and you do not need per-post embeds.
Shortcoder is the better pick if you want to wrap reusable HTML or embed code blocks as shortcodes across many posts.
EmbedPress makes more sense if you primarily need to embed rich media like PDFs, videos, and documents rather than raw code.