WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by vaakash v6.5.4

Shortcoder

Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the shortcodes within posts, pages & widgets

Shortcoder

The facts

Rating
4.9★ from 227
Active installs
100k+
Price
Free
Last updated
1 Aug 2026
Added
May 2010
Requires WP
4.9.0
Tested up to
WP 7.0.4
Requires PHP
5.3
Downloads
2,037,707

Our analysis

AI-assisted

Shortcoder is a WordPress plugin that enables you to create custom shortcodes for HTML, JavaScript, CSS, and other code snippets. Once created, these shortcodes can be inserted into posts and pages, allowing for easy management and reuse of code snippets throughout your site.

This plugin is suitable for developers and users who frequently use specific code snippets, as it allows for the insertion of custom parameters and the ability to disable shortcodes on various devices. It supports multiple editing modes and provides a convenient button in the post editor for inserting shortcodes.

Best for: Developers and users who need to manage and reuse code snippets in WordPress.

What it does well

  • Create custom shortcodes for various code types
  • Supports insertion of custom and WordPress parameters
  • Multiple editing modes available
  • Option to disable shortcodes on specific devices
  • Easy shortcode insertion in Gutenberg/block editor

Where it falls short

  • Limited information on the PRO version features
  • No details on support or documentation

Verdict

Shortcoder offers a straightforward solution for creating and managing shortcodes, making it a useful tool for those who work with code snippets in WordPress.

From the developer

vaakash's own description of Shortcoder, lightly tidied.

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.

✍ Create shortcodes easily

  1. Give a name for the shortcode
  2. Paste the HTML/JavaScript/CSS as shortcode content
  3. Save !
  4. Now insert the shortcode [sc name="my_shortcode"] in your post/page.
  5. Voila ! You got the HTML/Javascript/CSS in your post.

✨ Features

  • Create custom shortcodes easily and use them in any place where shortcode is supported.
  • Have any HTML, Javascript, CSS as Shortcode content.
  • Insert: Custom parameters in shortcode
  • Insert: WordPress parameters in shortcode
  • Multiple editors: Code, Visual and text modes.
  • Globally disable the shortcode when not needed.
  • Disable shortcode on desktop, mobile devices.
  • A button in post editor to pick the shortcodes to insert.
  • Execute blocks HTML in shortcode content.
  • Insert shortcodes in Gutenberg/block editor.

🎲 An example usage

  1. Create a shortcode named “adsenseAd” in the Shortcoder admin page.
  2. Paste the adsense code in the box given and save it.
  3. Use [sc name="adsenseAd"] in your posts and pages.
  4. Tada !!! the ad code is replaced and it appears in the post.
  5. Now you can edit the ad code at one place and the code is updated in all the locations where the shortcode is used.

Similarly shortcodes can be created for frequently used snippets.

You can also add custom parameters (like %%id%%) inside the snippets, and change it’s value like [sc name="youtube" id="GrlRADfvjII"] when using them.

🧱 Using in block editor

Though shortcodes can be used in any place manually, Shortcoder provides below options to select and insert the shortcodes created easily when working with the block editor.

  • Shortcoder block
  • Toolbar button to select and insert shortcodes inline (under “more”)

💎 Upgrade to PRO

Shortcoder also provides a PRO version which has additional features to further enhance the experience. Below features are offered in the PRO version.

  • Custom editor – Edit Shortcode content using block editor or page builder plugins like Elementor and WPBakery.
  • (New) Translation with WPML – Translate Shortcode content with WPML.
  • Revisions – Revisions support for Shortcode content.
  • Locate shortcode – Search posts and pages where a shortcode is used.
  • Extra code – Include extra code to the footer when a shortcode is used in a page.

Get started with Shortcoder – PRO

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for developer tooling.

WPCode

WPCode

93

Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditio...

Free 3M+ installs 4.9★ (1,873)
Header Footer Code Manager

Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for an...

Free 600k+ installs 4.9★ (309)
Admin and Site Enhancements

Duplicate post, post order, image resize, email via SMTP, admin menu editor, custom css / code, disable gutenb...

Free 200k+ installs 5★ (421)
Insert PHP Code Snippet

Add PHP code to your pages and posts easily using shortcodes.

Free 90k+ installs 4.9★ (705)
Code Snippets

An easy, clean, and simple way to enhance your site with code snippets.

Free 1M+ installs 4.7★ (509)
Simple Custom CSS and JS

Easily add Custom CSS or JS to your website with an awesome editor.

Free 600k+ installs 4.4★ (103)