This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

JSFiddle Shortcode


Allows to easily embed Fiddles using a small shortcode.


[jsfiddle url="" height="300px" include="result,html,js,css" font-color="39464E" menu-background-color="FFFFFF" code-background-color="f3f5f6" accent-color="1C90F3"]
  • All attributes are optional.
  • url is the URL of the fiddle you want to embed, with or without trailing slash.
  • include can be any combination of result, html, js and css, separated by commas; the tabs in the embedded fiddle will follow the order specified with the include attribute.
  • font-color is the color used for the name of the tabs.
  • menu-background-color is the color used for the background of the tabs.
  • code-background-color is the color used for the background of the area where the code and results are shown.
  • accent-color is the color of the indicator shown below the active tab.


<iframe style="width: 100%; height: 300px" src=",html,js,css/?fontColor=39464E&menuColor=FFFFFF&bodyColor=f3f5f6&accentColor=1C90F3"></iframe>


  1. Extract the plugin files to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use [jsfiddle] in your post content.


Read all 2 reviews

Contributors & Developers

“JSFiddle Shortcode” is open source software. The following people have contributed to this plugin.


Translate “JSFiddle Shortcode” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Tested up to WodPress 5.2.
  • Use HTTPS URLs in plugin headers, default value for url attribute and Donate link.


  • Add support for font-color, menu-background-color, code-background-color and accent-color attributes.


  • Tested up to WordPress 4.4-beta1.


  • Fix PHP Deprecated notice.


  • First release.