Title: Html Content Shortcode
Author: epiphanyit321
Published: <strong>2024 年 11 月 11 日</strong>
Last modified: 2025 年 2 月 3 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Html Content Shortcode

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

[下載](https://downloads.wordpress.org/plugin/html-content-shortcode.1.0.0.zip)

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

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

## 外掛說明

The Html Content Shortcode Plugin allows you to easily add custom HTML to your WordPress
site using a simple shortcode. This plugin provides a user-friendly interface in
the WordPress backend for entering your HTML code, which can then be displayed on
the frontend of your site with a shortcode.

### Features

 1. **Easy HTML Entry:** Add your HTML code directly in the backend with a simple form.
 2. **Shortcode Support:** Use the provided shortcode to display your HTML anywhere
    on your site.
 3. **Customizable:** Tailor the HTML content as needed without any coding knowledge.
 4. **Lightweight:** Minimal impact on site performance.

### Usage

After entering your HTML in the plugin settings, you can display it on your site
using the shortcode:

[hcs_html_content]

Place this shortcode in any post, page, or widget where you want the HTML to appear.

### Settings

 1. **HTML Content:** The main textarea where you can input your HTML code.
 2. **Save Button:** Click to save your HTML for use with the shortcode.

### Example

 1. Go to **HTML Content** in your WordPress admin panel.
 2. Enter your desired HTML code (e.g., a custom button, an embedded video, etc.).
 3. Save your changes.
 4. Use [hcs_html_content] in your posts or pages to display the HTML.

### Contributing

If you’d like to contribute to the plugin, please fork the repository and submit
a pull request. We welcome suggestions and improvements!

## 螢幕擷圖

[⌊screenshot-1.png⌉⌊screenshot-1.png⌉[

screenshot-1.png

[⌊screenshot-2.png⌉⌊screenshot-2.png⌉[

screenshot-2.png

## 安裝方式

 * Upload the wp-html-display folder to the /wp-content/plugins/ directory.
 * Activate the plugin through the ‘Plugins’ menu in WordPress.
 * Navigate to HTML Content in the WordPress admin menu to enter your HTML code.

## 常見問題集

### Can I use JavaScript in the HTML?

Yes, you can add JavaScript within your HTML code, but ensure it doesn’t conflict
with other scripts on your site.

### Is it safe to use this plugin?

Always validate and sanitize your HTML input. This plugin is designed for trusted
users to add content. Use with caution to avoid XSS vulnerabilities.

### What if I want to change the shortcode?

You can modify the shortcode in the plugin code if needed, but this may require 
coding knowledge.

### Which WYSIWYG editor is used in the backend plugin ?

The Html Content Shortcode Plugin is powered by [ckeditor5](https://ckeditor.com/ckeditor-5/).

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

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

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

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

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

## 變更記錄

#### 1.0.0

 * Initial release of the Html Content Shortcode Plugin.

## 中繼資料

 *  版本 **1.0.0**
 *  最後更新 **2 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 4.7 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.6.7**
 *  PHP 版本需求 ** 8.2 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/html-content-shortcode/)
 * 標籤:
 * [Plugin](https://tw.wordpress.org/plugins/tags/plugin/)[shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
   [user friendly](https://tw.wordpress.org/plugins/tags/user-friendly/)
 *  [進階檢視](https://tw.wordpress.org/plugins/html-content-shortcode/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/html-content-shortcode/reviews/#new-post)

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

## 參與者

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

## 技術支援

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

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