Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the shortcodes within posts, pages & widgets
As of April 2026, Shortcoder is a WordPress code plugin with 100K+ active installations and a 4.9/5 rating from 226 reviews. It has been downloaded 1.9M+ times in total. Requires WordPress 4.9.0+ and PHP 5.3+. Available on WordPress.org since 2010. Recently updated within the last 3 months. Downloads are down 8% this week. Support resolution rate: 60%. Top alternative: WPCode – Insert Headers and Footers +….
Shortcoder plugin allows to create a custom shortcodes for HTML, JavaScript, CSS and other code snippets. Now the shortcodes can be used in posts/pages and the snippet will be replaced in place.
[sc name="my_shortcode"] in your post/page.Thank you for creating this plugin. I needed a replacement for the excellent but long defunct Reusable Text Blocks plugin by Hal Gatewood. Because for one website there were a couple of sentences I needed to repeat in a few dozen places, and for the other website I created a custom two-column layout and used Shortcoder to place blocks of content within the columns. I appreciate you recently adding the context-sensitive color coding to the HTML editor. I’d like it if I didn’t need to fill in the HTML paragraph tags for HTML content, which is different than content I type in to the WordPress Classic editor.
Finally, a plugin like this has appeared in the catalog!
Shortcoder is a game-changer for anyone who needs to reuse HTML, CSS, or JavaScript across their site! Creating shortcodes is ridiculously simple – just name it, paste your code, and you’re done. Love how it works seamlessly with both classic and Gutenberg editors. The ability to disable shortcodes globally or on specific devices is brilliant for testing.
Custom parameters make it super flexible too. Whether you’re embedding complex widgets or simple HTML blocks, this plugin saves tons of time. Clean interface, reliable performance – exactly what you need for code management!
تستطيع من خلالها تنظيم الأكواد الخاصة بك وتعديلهن وتحريرهن بكل سهولة أنصح بها وبشدة
This plugin is epic and should be part of WP natively 🙂
Shortcodes can easily be found and edited from the dashboard. No issues on latest version of WP.
| WordPress | 4.9.0+ requiredTested up to 6.9.4 |
| PHP | 5.3+ required |
null checks to fix warning in some scenarios.Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.