Title: JSFiddle Shortcode
Author: Willington Vega
Published: <strong>16.07.2011</strong>
Last modified: 05.11.2024

---

Шукати плагіни

Цей плагін **не перевірявся з останніми 3-ма основними випусками WordPress**. Можливо,
він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності
при використанні з більш новими версіями WordPress.

![](https://s.w.org/plugins/geopattern-icon/jsfiddle-shortcode.svg)

# JSFiddle Shortcode

 Від автора [Willington Vega](https://profiles.wordpress.org/wvega/)

[Завантажити](https://downloads.wordpress.org/plugin/jsfiddle-shortcode.1.1.3.zip)

 * [Деталі](https://uk.wordpress.org/plugins/jsfiddle-shortcode/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/jsfiddle-shortcode/#reviews)
 *  [Встановлення](https://uk.wordpress.org/plugins/jsfiddle-shortcode/#installation)
 * [Розробка](https://uk.wordpress.org/plugins/jsfiddle-shortcode/#developers)

 [Підтримка](https://wordpress.org/support/plugin/jsfiddle-shortcode/)

## Опис

Allows to easily embed Fiddles using a small shortcode.

### Usage:

    ```
    [jsfiddle url="https://jsfiddle.net/wvega/UupFu/" 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.

### Result:

    ```
    <iframe style="width: 100%; height: 300px" src="https://jsfiddle.net/wvega/UupFu/embedded/result,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.

## Відгуки

![](https://secure.gravatar.com/avatar/5682e3f05564d634a46730e5822a7ff080cba1fd2acf42251932d63001a01cd6?
s=60&d=retro&r=g)

### 󠀁[Still usefull in wordpress 4.2.4](https://wordpress.org/support/topic/still-usefull-in-wordpress-424/)󠁿

 [ENSASKE](https://profiles.wordpress.org/ensaske/) 03.09.2016

Installed today 05 September 2015 and works perfectly! I write the short code and
there is my JSFiddle. Thx a lot.

 [ Прочитати всі 2 відгуки ](https://wordpress.org/support/plugin/jsfiddle-shortcode/reviews/)

## Учасники та розробники

“JSFiddle Shortcode” — проект з відкритим вихідним кодом. В розвиток плагіну внесли
свій вклад наступні учасники:

Учасники

 *   [ Willington Vega ](https://profiles.wordpress.org/wvega/)

[Перекладіть “JSFiddle Shortcode” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/jsfiddle-shortcode)

### Цікавитесь розробкою?

[Перегляньте код](https://plugins.trac.wordpress.org/browser/jsfiddle-shortcode/),
перегляньте [сховище SVN](https://plugins.svn.wordpress.org/jsfiddle-shortcode/)
або підпишіться на [журнал розробки](https://plugins.trac.wordpress.org/log/jsfiddle-shortcode/)
за допомогою [RSS](https://plugins.trac.wordpress.org/log/jsfiddle-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змін

#### 1.1.3

 * Add missing License and License URI headers in readme.txt

#### 1.1.2

 * Tested up to WordPress 6.6.2
 * Force HTTPS scheme for provided fiddle URLs to match the site’s scheme
 * Improve sanitization of shortcode attributes and escape the value of the resulting
   HTML attributes

#### 1.1.1

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

#### 1.1.0

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

#### 1.0.1

 * Tested up to WordPress 4.4-beta1.

#### 1.0.0

 * Fix PHP Deprecated notice.

#### 0.1

 * First release.

## Мета

 *  Версія **1.1.3**
 *  Останнє оновлення **2 роки тому**
 *  Активних встановлень **60+**
 *  Версія WordPress ** 3.4.0 або вище **
 *  Tested up to **6.6.5**
 *  Мова
 * [English (US)](https://wordpress.org/plugins/jsfiddle-shortcode/)
 * Позначка
 * [jsfiddle](https://uk.wordpress.org/plugins/tags/jsfiddle/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/jsfiddle-shortcode/advanced/)

## Оцінки

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/jsfiddle-shortcode/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/jsfiddle-shortcode/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/jsfiddle-shortcode/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/jsfiddle-shortcode/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/jsfiddle-shortcode/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/jsfiddle-shortcode/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/jsfiddle-shortcode/reviews/)

## Учасники

 *   [ Willington Vega ](https://profiles.wordpress.org/wvega/)

## Підтримка

Є що сказати? Потрібна допомога?

 [Перейти в форум підтримки](https://wordpress.org/support/plugin/jsfiddle-shortcode/)

## Пожертвування

Ви хотіли б підтримати розвиток цього плагіна?

 [ Пожертвувати на розвиток плагіна ](https://wvega.com/)