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

Image

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!

螢幕擷圖

  • Image
    screenshot-1.png
  • Image
    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.

使用者評論

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

參與者及開發者

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

參與者

將〈Html Content Shortcode〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release of the Html Content Shortcode Plugin.