Shortcoder is a plugin which allows to create a custom shortcode and store HTML, Javascript and other snippets in it. So if that shortcode is used in any post or pages, then the code stored in the shortcode get exceuted in that place.

Create custom shortcodes easily

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


  • Create „custom shortcodes“ easily and use them within WordPress
  • Use any kind of HTML as Shortcode content.
  • Insert: Custom parameters in shortcode
  • Insert: WordPress parameters in shortcode
  • Visual editor for adding shortcode contents.
  • Globally disable the shortcode when not needed.
  • Can disable the shortcode to admins.

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 appears in the post.
  • Using this idea, shortcodes can be created for frequently used snippets.
  • You can also add parameters (like %%id%%) inside the snippets, and vary it like [sc name="youtube" id="GrlRADfvjII"]
  • This plugin will be hugely useful to all !!!


Снимки на разширението

  • Shortcoder admin page.
  • Editing a shortcode.
  • Popup to select and insert shortcode into posts.
  • A shortcode inserted into a post.
  • The shortcode executed in the post.


  1. Extract the zipped file and upload the folder Shortcoder to to /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to the „Shortcoder“ admin page. Admin page is under the „Settings“ menu.
  4. Enter a shortcode name.
  5. Paste some code in it.
  6. Then use the shortcode [sc name="name of the shortcode"] in your post. ex: If „youtube“ is the shortcode name, then just use [sc name="youtube"] in your posts
  7. That’s all !

You can also insert some parameters within the post. Check this page to learn more.


Please visit the Plugin homepage for lots of FAQ’s. Selected are given here.

I’ve created a shortcode, how to use it ?

For example, consider you made a shortcode „advertisement“. Then you should use the shortcode [sc name="advertisement"] in your post.

How to temporarily disable a shortcode ?

Just check the „Temporarily disable this shortcode“ in the shortcode admin page to disable it.
Note: When you disable a shortcode, the shortcode will not be executed in the page.

More FAQs


Just amazing!

It’s hard to describe how much this plugin is helping me. Wherever I have a sentence that I have to repeat (e.g. IP statements), I just put it in a shortcode and add it to the page. Or, we have certain values that repeat in many places, and normally, there are five or six instances of each value and when we needed to change them, we had to check everywhere and apply it. Now I just use the shortcode and change it in one place.

Well done!

Прочетете всички 107 отзива

Сътрудници и разработчици

“Shortcoder” е софтуер с отворен код. Към разширението са допринесли следните хора.


“Shortcoder” е преведено на 3 езика. Благодарности на преводачите за техния принос.

Превеждане на “Shortcoder” на вашия език.

Имате интерес към разработване?

Преглеждане на кода, разглеждане на SVN хранилище, или абонамент към програмната история (log) чрез RSS.

Списък с промени


  • Fix: Some plugins fail to fire onload JS event since it was overwritten by shortcoder.
  • Fix: Javascript in insert shortcode popup not working in IE 11.
  • Fix: Missing parenthesis while calling is_year.
  • Fix: Widgets page not loading insert shortcode popup.
  • Fix: Removed settings emoji icon from plugin actions list.
  • Fix: Load latest version 5.42.0 of codemirror.
  • Fix: Updated minimum required WordPress version.


  • Fix: Minor UI refinements for better experience.
  • Fix: Import error where some exported JSON files have 0 as EOF.


  • New: Insert custom fields in shortcode content.
  • Fix: Removed comments in shortcode output


  • New: Categorize, search and filter shortcodes using „tags“.
  • New: Last used shortcode editor will be saved along with shortcode.
  • New: Enclosed shortcode content can now be used as shortcode parameter.
  • New: Active line highlight has been enabled for code editor.
  • Fix: Codemirror has been updated to latest version.
  • Fix: Minor admin interface enhancements.


  • New: Date variables can noe be added into shortcode content.
  • Fix: Error „trying to get property of non-object“ is handled.


  • New: Bloginfo variables can now be added into shortcode content.


  • New: Codemirror powered syntax highlighted shortcode content code editor (beta).


  • Fix: Shortcode names with not-allowed characters cannot be edited/deleted.
  • New: Shortcode imports made can now be fresh or overwritten.
  • New: Only users with manage_options capability will see „edit shortcode“ option in insert window.
  • Fix: Import failure with UTF-8 characters.
  • Fix: Case sensitive search in admin pages.
  • Fix: Minor admin interface changes.


  • New: Search box for shortcodes in admin page.


  • Fix: HTTP 500 error because of syntax error in import module.


  • New: Import/export feature for shortcodes.
  • Fix: Visual editor is now disabled by default.
  • Fix: Added instructions in admin page.


  • New: Added feature to sort created shortcodes list.
  • Fix: HTML errors in admin page


  • Fix: Sometimes get_current_screen() was called early in some setups.


  • Fix: Servers with PHP version < 5.5 were facing HTTP 500 error because of misuse of PHP language construct in code.


  • New: Plugin rewritten from scratch.
  • New: Brand new administration page
  • New: Shortcode vissibility settings, show/hide in desktop/mobile devices
  • New: Insert WordPress information into shortcode content.
  • Fix: Insert shortcode window is not loading.
  • Fix: Unable to delete the shortcodes


  • Fixed Shortcoder not working in WordPress 4.4
  • Changed the shortcoder syntax from [sc:the_name] to [sc name="the_name"] permanently in effect of WordPress 4.4 changes.


  • New feature: Embedded/Nested shortcodes is now supported.
  • New feature: Full fledged native WordPress editor for adding shortcode content with media buttons.
  • Bug fix: „duplicate percentage“ in content on plugin reactivate.
  • Updated admin UI with fixed errors.
  • Updated „insert shortcode“ interface is revised and some issues are fixed.
  • Updated with translatable texts in admin page.
  • Minor code revision and changes.


  • Fixed bug in loops using foreach.
  • Fixed several PHP notices.


  • Moved the shortcoder admin page to the „Settings“ menu.
  • Some admin page issues are fixed.


  • Changed the „Custom parameter“ syntax from %param% to %%param%%
  • Code revision.


  • Added license tag to the readme file.


  • Plugin code rewritten from scratch.
  • Shortcode syntax is changed.
  • Supports any custom parameters.
  • Admin interface is redesigned and easy to use.
  • Added a tinyMCE button to the editing toolbar for inserting the shortcodes in the post.
  • Inbuilt shortcodes are removed.


  • Can disable the shortcode to Administrators.
  • Admin interface changed.


  • Changed the folder name’s case and some minor bugs.
  • Code revision.


  • Initial Version with 5 inbuilt shortcodes.

(Pre made versions are not released)