WordPress plugin · Admin Tools Plugins
Code Snippets Pro
Add PHP, CSS, JavaScript and HTML snippets without theme edits, with revisions and conditions.
About This Plugin
Code Snippets Pro gives your custom code its own home in the WordPress dashboard instead of your theme's functions.php file. Each snippet switches on and off like a plugin, and Safe Mode gets you back in if one breaks the site.
Write PHP, HTML, CSS and JavaScript snippets in an editor with syntax highlighting and code checking, with Gutenberg and Elementor integration for styles and scripts. Choose where PHP runs: everywhere, admin only, front end only, or once. Display conditions set where and when any snippet runs, and revisions let you compare a change and restore an earlier version.
Blueprints write the PHP for common jobs such as custom post types, taxonomies, shortcodes, settings pages and user profile fields. Role-based permissions decide who can view or edit snippets, the admin bar shows which snippets ran on the current page, and execution-time tracking points out slow ones. Tags, search, locks, import and export, and multisite support keep a large library in order.