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

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的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://cn.wordpress.org/plugins/html-content-shortcode/#description)
 * [评价](https://cn.wordpress.org/plugins/html-content-shortcode/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/html-content-shortcode/#installation)
 * [开发进展](https://cn.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**
 *  最后更新：**1 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 4.7 或更高版本 **
 *  已测试的最高版本为 **6.6.5**
 *  PHP 版本 ** 8.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/html-content-shortcode/)
 * 标签
 * [Plugin](https://cn.wordpress.org/plugins/tags/plugin/)[shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
   [user friendly](https://cn.wordpress.org/plugins/tags/user-friendly/)
 *  [高级视图](https://cn.wordpress.org/plugins/html-content-shortcode/advanced/)

## 评级

尚未提交反馈。

[Your review](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/)