WPCode
93Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...
Insert PHP, JavaScript, CSS, HTML, ads & tracking code into WordPress headers, footers, pages & content with conditional logic — no theme editing.
Woody Code Snippets is a WordPress plugin that allows you to insert various types of code, including PHP, CSS, and JavaScript, into your site without modifying theme files. This helps prevent issues that can arise from theme updates and makes code management simpler as your site grows.
The plugin provides a centralized code snippet manager where you can safely add header scripts, footer scripts, and other code directly from the WordPress admin. It also allows for the reuse of content and scripts across your site using shortcodes, with options to enable or disable snippets and control their placement based on specific conditions.
Best for: This plugin is suitable for WordPress users who need to manage code snippets without direct theme file edits.
What it does well
Where it falls short
Woody Code Snippets provides a practical solution for managing code in WordPress, making it easier for users to maintain their sites without risking functionality during theme updates.
Themeisle's own description of Woody Code Snippets, lightly tidied.
Woody Code Snippets is a WordPress plugin that helps you insert code into your site without editing theme files.
Many WordPress users still add PHP, JavaScript, CSS, tracking pixels, or ad scripts directly into functions.php, header.php, or footer.php. This approach breaks easily when themes update and becomes hard to manage as your site grows.
Woody solves this by giving you a centralized code snippet manager where you can safely add header scripts, footer scripts, PHP snippets, custom CSS, JavaScript, and HTML from the WordPress admin.
You can use Woody as a header and footer code manager, a PHP snippet plugin, or a way to reuse content and scripts across your site using shortcodes or automatic insertion.
Each snippet can be enabled or disabled instantly, placed in specific locations like before content or after paragraphs, and shown only when certain conditions are met.
📘 Documentation – Complete setup and configuration guide
💬 Support Forum – Community help and expert support
Woody is built for real WordPress workflows. It helps you:
Whether you are building client sites, running marketing experiments, or maintaining your own project, Woody gives you control without unnecessary complexity.
Woody lets you create code snippets and control where and when they run, all from the WordPress admin.
Create a JavaScript snippet and add your analytics or tracking code.
Place it in the site header and add a condition to exclude administrators so your own visits are not tracked.
Other plugins for developer tooling.
Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...
Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for an...
Duplicate post, post order, image resize, email via SMTP, admin menu editor, custom css / code, disable gutenb...
Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the shortcodes wit...
Add PHP code to your pages and posts easily using shortcodes.
An easy, clean, and simple way to enhance your site with code snippets.