Title: Wexlab HTML Blocks for Elementor
Author: wpexpertlab
Published: <strong>2026 年 7 月 22 日</strong>
Last modified: 2026 年 7 月 22 日

---

搜索插件

![](https://ps.w.org/wexlab-html-blocks-for-elementor/assets/banner-772x250.png?
rev=3619121)

![](https://ps.w.org/wexlab-html-blocks-for-elementor/assets/icon-256x256.png?rev
=3619121)

# Wexlab HTML Blocks for Elementor

 作者：[wpexpertlab](https://profiles.wordpress.org/wpexpertlab/)

[下载](https://downloads.wordpress.org/plugin/wexlab-html-blocks-for-elementor.zip)

 * [详情](https://cn.wordpress.org/plugins/wexlab-html-blocks-for-elementor/#description)
 * [评价](https://cn.wordpress.org/plugins/wexlab-html-blocks-for-elementor/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wexlab-html-blocks-for-elementor/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wexlab-html-blocks-for-elementor/#developers)

 [支持](https://wordpress.org/support/plugin/wexlab-html-blocks-for-elementor/)

## 描述

**Wexlab HTML Blocks for Elementor** is an independent widget by WP Expert Lab that
lets you add custom HTML code to any page or section built with Elementor. This 
plugin is not affiliated with or endorsed by Elementor.

Whether you need to embed a third-party widget, add a custom button, or insert any
raw HTML — this plugin makes it simple and secure.

#### Features

 * Add custom HTML code inside any Elementor page
 * Supports safe HTML tags (div, span, table, img, a, form, iframe, and more)
 * All output is sanitized using WordPress wp_kses() for security
 * No script tags, no inline JavaScript, no executable code allowed
 * Wrapper padding and background color controls
 * Lightweight — no extra scripts loaded
 * Works with all Elementor themes

#### Security

This plugin uses a strict wp_kses() allowlist to sanitize all HTML output. The following
are explicitly blocked:

 * No <script> tags
 * No <style> tags
 * No inline event handlers (onclick, onload, etc.)
 * No PHP execution
 * No arbitrary code insertion

#### Who Is This Plugin For?

 * WordPress developers who need to embed safe HTML in Elementor
 * Freelancers building client websites
 * Business owners who need basic HTML customization
 * Anyone who wants to add iframes, tables, or custom markup in Elementor

#### Requirements

 * WordPress 5.0+
 * Elementor (free version works) — required, this plugin is not affiliated with
   Elementor
 * PHP 7.2+

## 安装

 1. Upload the plugin files to `/wp-content/plugins/wexlab-html-blocks-for-elementor/`
 2. Activate the plugin through the **Plugins** menu in WordPress
 3. Open any page with **Elementor**
 4. Search for **“Custom HTML”** in the widget panel
 5. Drag the widget to your desired location
 6. Add your HTML code and click **Publish**

## 常见问题

### Is this plugin made by Elementor?

No. Wexlab HTML Blocks for Elementor is an independent third-party plugin created
by WP Expert Lab. It is not affiliated with, endorsed by, or connected to Elementor
in any way.

### Does this plugin work with the free version of Elementor?

Yes! This plugin works perfectly with the free version of Elementor. No Elementor
Pro required.

### Can I add JavaScript with this plugin?

No. This plugin does not allow JavaScript, CSS, or any executable code. Only safe
HTML tags are permitted through a strict wp_kses() allowlist.

### Is this plugin compatible with my theme?

Yes, this plugin is compatible with all WordPress themes including Blocksy, Astra,
GeneratePress, OceanWP, and more.

### Will this plugin slow down my website?

No. The plugin is extremely lightweight and only loads a minimal CSS file on the
frontend.

### Where can I get support?

Please use the WordPress.org support forum for any questions or issues.

## 评价

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

### 󠀁[Excellent Plugin for Custom HTML Sections](https://wordpress.org/support/topic/excellent-plugin-for-custom-html-sections/)󠁿

 [riyan12223](https://profiles.wordpress.org/riyan12223/) 2026 年 7 月 22 日

I used this plugin on a client’s website to create custom HTML sections inside Elementor,
and it worked exactly as expected. The setup was simple, the interface was easy 
to understand, and it integrated smoothly with Elementor without any conflicts. 
The plugin helped me add custom HTML blocks quickly while keeping the website lightweight
and well-organized. Performance was good, and I did not experience any issues during
development or after deployment. Overall, this is a reliable and useful plugin for
anyone who needs to add custom HTML content in Elementor. I would definitely use
it again for future client projects.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/wexlab-html-blocks-for-elementor/reviews/)

## 贡献者及开发者

「Wexlab HTML Blocks for Elementor」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Wexlab HTML Blocks for Elementor」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wexlab-html-blocks-for-elementor)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wexlab-html-blocks-for-elementor/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wexlab-html-blocks-for-elementor/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/wexlab-html-blocks-for-elementor/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wexlab-html-blocks-for-elementor/)。

## 更新日志

#### 1.0.0

 * Initial release
 * Basic HTML widget for Elementor
 * Wrapper style controls (padding, background)
 * Strict wp_kses() HTML sanitization for security

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**1 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.0.4**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wexlab-html-blocks-for-elementor/)
 * 标签
 * [code](https://cn.wordpress.org/plugins/tags/code/)[custom html](https://cn.wordpress.org/plugins/tags/custom-html/)
   [elementor](https://cn.wordpress.org/plugins/tags/elementor/)[html](https://cn.wordpress.org/plugins/tags/html/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/wexlab-html-blocks-for-elementor/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/wexlab-html-blocks-for-elementor/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wexlab-html-blocks-for-elementor/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wexlab-html-blocks-for-elementor/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wexlab-html-blocks-for-elementor/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/wexlab-html-blocks-for-elementor/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/wexlab-html-blocks-for-elementor/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wexlab-html-blocks-for-elementor/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wexlab-html-blocks-for-elementor/)