Title: Insert Html Snippet
Author: f1logic
Published: <strong>2012 年 8 月 16 日</strong>
Last modified: 2026 年 6 月 22 日

---

搜尋外掛

![](https://ps.w.org/insert-html-snippet/assets/banner-772x250.jpg?rev=1800969)

![](https://ps.w.org/insert-html-snippet/assets/icon-128x128.png?rev=1800969)

# Insert Html Snippet

 由 [f1logic](https://profiles.wordpress.org/f1logic/) 開發

[下載](https://downloads.wordpress.org/plugin/insert-html-snippet.1.4.6.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/insert-html-snippet/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/insert-html-snippet/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/insert-html-snippet/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/insert-html-snippet/#developers)

 [技術支援](https://wordpress.org/support/plugin/insert-html-snippet/)

## 外掛說明

A quicklook into Insert Html Snippet

    ```
    ★ Convert HTML snippets to shortcodes
    ★ Convert Javascript codes to shortcodes
    ★ Convert CSS codes to shortcodes
    ★ Support for snippet shortcodes in widgets
    ★ Dropdown menu in TinyMCE editor to pick snippet shortcodes easily
    ★ Insert adsense or any adcode
    ★ Insert addthis or any social bookmarking code
    ★ Insert flash, videos etc. to your posts,pages and widgets
    ```

#### Features in Detail

Insert Html Snippet allows you to create shortcodes corresponding to html snippets.
You can create a shortcode corresponding to any random HTML code such as ad codes(
adsense or any adserver), javascript codes (addthis), video embedding codes, css
codes etc. and use the same in your posts, pages or widgets.

The shortcodes generated using the plugin are easily available as a dropdown in 
the standard wordpress content editor as well as in widget settings, thereby giving
you ease of integrating your HTML snippets with your posts and pages.

#### About

Insert Html Snippet is developed and maintained by [XYZScripts](http://xyzscripts.com/).
For any support, you may [contact us](http://xyzscripts.com/support/).

★ [Insert HTML Snippet User Guide](http://help.xyzscripts.com/docs/insert-html-snippet/user-guide)

★ [Insert HTML Snippet FAQ](http://help.xyzscripts.com/docs/insert-html-snippet/faq/)

### More Information

★ [Insert HTML Snippet User Guide](http://help.xyzscripts.com/docs/insert-html-snippet/user-guide)

★ [Insert HTML Snippet FAQ](http://help.xyzscripts.com/docs/insert-html-snippet/faq/)

#### Troubleshooting

Please read the FAQ first if you are having problems.

#### Requirements

    ```
    WordPress 5.0+
    PHP 7+
    ```

#### Feedback

We would like to receive your feedback and suggestions. You may submit them at our
[support desk](http://xyzscripts.com/members/support/).

## 螢幕擷圖

[⌊This is the shortcode generator page⌉⌊This is the shortcode generator page⌉[

This is the shortcode generator page

[⌊This is page where you can manage all your snippets⌉⌊This is page where you can
manage all your snippets⌉[

This is page where you can manage all your snippets

[⌊The shortcodes are easily accessible in the content editor⌉⌊The shortcodes are
easily accessible in the content editor⌉[

The shortcodes are easily accessible in the content editor

## 安裝方式

★ [Insert HTML Snippet User Guide](http://help.xyzscripts.com/docs/insert-html-snippet/user-guide)
★ [Insert HTML Snippet FAQ](http://help.xyzscripts.com/docs/insert-html-snippet/faq/)

 1. Extract `insert-html-snippet.zip` to your `/wp-content/plugins/` directory.
 2. In the admin panel under plugins activate Insert Html Snippet.

If you need any further help, you may contact our [support desk](http://xyzscripts.com/support/).

## 常見問題集

★ [Insert HTML Snippet User Guide](http://help.xyzscripts.com/docs/insert-html-snippet/user-guide)

★ [Insert HTML Snippet FAQ](http://help.xyzscripts.com/docs/insert-html-snippet/faq/)

### The Insert Html Snippet is not working properly.

Please check the wordpress version you are using. Make sure it meets the minimum
version recommended by us. Make sure all files of the `insert html snippet` plugin
uploaded to the folder `wp-content/plugins/`

### Can I use shortcodes in html snippet ?

Yes ofcourse.

### I have 2 html shortcodes placed adjacently, but only one of them works.

Please use a whitespace to separate 2 shortcodes.

More questions ? [Drop a mail](http://xyzscripts.com/members/support/) and we shall
get back to you with the answers.

## 使用者評論

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

### 󠀁[Effective Plugin](https://wordpress.org/support/topic/effective-plugin-48/)󠁿

 [ramjan94](https://profiles.wordpress.org/ramjan94/) 2026 年 6 月 21 日

Effective Plugin

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

### 󠀁[Very nice](https://wordpress.org/support/topic/very-nice-2055/)󠁿

 [uviraonline](https://profiles.wordpress.org/uviraonline/) 2026 年 6 月 13 日

I’ve been using it for years now and I never run into problems.

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

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-41086/)󠁿

 [notice01w](https://profiles.wordpress.org/notice01w/) 2025 年 11 月 28 日

very fast reliable plugin thank you!

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

### 󠀁[This plugin saves me time](https://wordpress.org/support/topic/this-plugin-saves-me-time/)󠁿

 [atighe](https://profiles.wordpress.org/atighe/) 2025 年 11 月 22 日

I use this plugin to display dates on my site. It allows me to update them in one
place and use them in multiple areas. It’s terrific

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

### 󠀁[Recommended banget, bro!](https://wordpress.org/support/topic/recommended-banget-bro/)󠁿

 [danielhherman](https://profiles.wordpress.org/danielhherman/) 2025 年 11 月 13
日

mudah digunakan dan praktis.

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

### 󠀁[Easy to Use and Efficient](https://wordpress.org/support/topic/easy-to-use-and-efficient-30/)󠁿

 [junaidtahir](https://profiles.wordpress.org/junaidtahir/) 2025 年 9 月 7 日

Using for some weeks now. Despite the fact my code is going beyond 1400+ lines, 
the plugin is efficient and smart.

 [ 閱讀全部 237 則使用者評論 ](https://wordpress.org/support/plugin/insert-html-snippet/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Insert Html Snippet〉的開發相關工作。

參與者

 *   [ f1logic ](https://profiles.wordpress.org/f1logic/)

〈Insert Html Snippet〉外掛目前已有 2 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/insert-html-snippet/contributors)
為這個外掛做出的貢獻。

[將〈Insert Html Snippet〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/insert-html-snippet)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/insert-html-snippet/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/insert-html-snippet/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/insert-html-snippet/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/insert-html-snippet/)。

## 變更記錄

#### 1.4.6

 * PHP 8.3 compatibility improvements.
 * Minor code hardening and stability fixes.

#### 1.4.5

 * Added a setting for manual shortcode usage display and tracking
 * Minor bug fixes

#### 1.4.4

 * Improved snippet list UI and placement clarity
 * Added usage details for snippets used via shortcode
 * Minor bug fixes

#### 1.4.3

 * Added snippet description field
 * Minor bug fixes and compatibility updates
 * CSS & JS files now versioned to fix caching

#### 1.4.2

 * Added a warning note that plugin data will be lost if the plugin is deleted
 * Updated redirects to use wp_safe_redirect() for improved security

#### 1.4.1

 * Added version check to trigger DB updates and clear cache on updates

#### 1.4

 * Added new Snippet Placement Methods: Automatic and Shortcode (Manual) for more
   flexible snippet placement options.
 * Added Snippet Placement filter on the Manage Snippets page
 * Improved compatibility with the latest WordPress versions
 * Fixed minor bugs and optimized performance.

#### 1.3.8

 * Added “Execute shortcodes in editors” setting for Elementor and other editor 
   compatibility
 * Updated about page with new premium feature details, including automatic placement
   locations

#### 1.3.7

 * Updated nonce verification for bulk actions to prevent CSRF attacks
 * Compatibility with WordPress 6.6.1

#### 1.3.6

 * Prevented shortcode execution in the admin area
 * Renamed menu from XYZ HTML to Insert HTML Snippet
 * Minor bugs fixed

#### 1.3.5

 * Patch security vulnerability
 * Compatibility with latest version of WordPress

#### 1.3.4

 * Minor bugs fixed
 * Compatibility with latest version of WordPress

#### 1.3.3

 * Minor bugs fixed

#### 1.3.2

 * Database collation issue fixed
 * Minor bugs fixed

#### 1.3.1

 * Notice errors fixed

#### 1.3

 * Snippet selection support in classic editor block of Gutenberg
 * Support for Search Snippet by name
 * Navigation Improvements

#### 1.2.5

 * Support for Bulk Actions(activate,deactivate,delete)

#### 1.2.4

 * Removed deprecated widget initializing function

#### 1.2.3

 * Updated nonces and validations
 * Premium version details and comparison added

#### 1.2.2

 * Unwanted output removed
 * Widget class updated

#### 1.2.1

 * A few bug fixes

#### 1.2

 * Compatibility with wordpress 4.3
 * Added options to sort snippets in admin area by id and title
 * Removed redirection after snippet edit

#### 1.1.1

 * Compatibility with wordpress 3.9

#### 1.1

 * Support for shortcodes in html content
 * Snippet chooser TinyMCE plugin modified
 * A few bug fixes

#### 1.0.1

 * Support for network installation
 * Pagination bug fix

#### 1.0

 * First official launch.

## 中繼資料

 *  版本 **1.4.6**
 *  最後更新 **7 天前**
 *  啟用安裝數 **20,000+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  語言
 * [English (US)](https://wordpress.org/plugins/insert-html-snippet/)、[Russian](https://ru.wordpress.org/plugins/insert-html-snippet/)、
   及 [Swedish](https://sv.wordpress.org/plugins/insert-html-snippet/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/insert-html-snippet)
 * 標籤:
 * [add HTML](https://tw.wordpress.org/plugins/tags/add-html/)[insert addthis code](https://tw.wordpress.org/plugins/tags/insert-addthis-code/)
   [insert ads](https://tw.wordpress.org/plugins/tags/insert-ads/)[insert adsense](https://tw.wordpress.org/plugins/tags/insert-adsense/)
   [insert HTML](https://tw.wordpress.org/plugins/tags/insert-html/)
 *  [進階檢視](https://tw.wordpress.org/plugins/insert-html-snippet/advanced/)

## 評分

 4.9 星，滿分為 5 星

 *  [  228 個 5 星使用者評論     ](https://wordpress.org/support/plugin/insert-html-snippet/reviews/?filter=5)
 *  [  5 個 4 星使用者評論     ](https://wordpress.org/support/plugin/insert-html-snippet/reviews/?filter=4)
 *  [  1 個 3 星使用者評論     ](https://wordpress.org/support/plugin/insert-html-snippet/reviews/?filter=3)
 *  [  2 個 2 星使用者評論     ](https://wordpress.org/support/plugin/insert-html-snippet/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/insert-html-snippet/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/insert-html-snippet/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/insert-html-snippet/reviews/)

## 參與者

 *   [ f1logic ](https://profiles.wordpress.org/f1logic/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/insert-html-snippet/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://xyzscripts.com/donate/)