{"id":341853,"date":"2026-07-22T09:47:48","date_gmt":"2026-07-22T09:47:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/custom-html-widget-for-elementor\/"},"modified":"2026-07-22T09:32:18","modified_gmt":"2026-07-22T09:32:18","slug":"wexlab-html-blocks-for-elementor","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wexlab-html-blocks-for-elementor\/","author":23533115,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"trunk","tested":"7.0.2","requires":"5.0","requires_php":"7.2","requires_plugins":null,"header_name":"Wexlab HTML Blocks for Elementor","header_author":"WP Expert Lab","header_description":"Add custom HTML code anywhere in Elementor. Simple, lightweight, and secure. All output is sanitized using wp_kses() \u2014 no scripts or executable code allowed.","assets_banners_color":"3b806c","last_updated":"2026-07-22 09:32:18","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wpexpertlab.com\/","header_author_uri":"https:\/\/wpexpertlab.com","rating":5,"author_block_rating":0,"active_installs":0,"downloads":23,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0.0":"<p>Initial release of Wexlab HTML Blocks for Elementor.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3619121,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3619121,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3619121,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Custom HTML widget in Elementor editor","2":"HTML code editor panel","3":"Style options for the widget wrapper"}},"plugin_section":[],"plugin_tags":[1214,5554,76538,246,162],"plugin_category":[43],"plugin_contributors":[272768],"plugin_business_model":[],"class_list":["post-341853","plugin","type-plugin","status-publish","hentry","plugin_tags-code","plugin_tags-custom-html","plugin_tags-elementor","plugin_tags-html","plugin_tags-widget","plugin_category-customization","plugin_contributors-wpexpertlab","plugin_committers-wpexpertlab"],"banners":{"banner":"https:\/\/ps.w.org\/wexlab-html-blocks-for-elementor\/assets\/banner-772x250.png?rev=3619121","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wexlab-html-blocks-for-elementor\/assets\/icon-128x128.png?rev=3619121","icon_2x":"https:\/\/ps.w.org\/wexlab-html-blocks-for-elementor\/assets\/icon-256x256.png?rev=3619121","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Wexlab HTML Blocks for Elementor<\/strong> 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.<\/p>\n\n<p>Whether you need to embed a third-party widget, add a custom button, or insert any raw HTML \u2014 this plugin makes it simple and secure.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Add custom HTML code inside any Elementor page<\/li>\n<li>Supports safe HTML tags (div, span, table, img, a, form, iframe, and more)<\/li>\n<li>All output is sanitized using WordPress wp_kses() for security<\/li>\n<li>No script tags, no inline JavaScript, no executable code allowed<\/li>\n<li>Wrapper padding and background color controls<\/li>\n<li>Lightweight \u2014 no extra scripts loaded<\/li>\n<li>Works with all Elementor themes<\/li>\n<\/ul>\n\n<h4>Security<\/h4>\n\n<p>This plugin uses a strict wp_kses() allowlist to sanitize all HTML output. The following are explicitly blocked:<\/p>\n\n<ul>\n<li>No &lt;script&gt; tags<\/li>\n<li>No &lt;style&gt; tags<\/li>\n<li>No inline event handlers (onclick, onload, etc.)<\/li>\n<li>No PHP execution<\/li>\n<li>No arbitrary code insertion<\/li>\n<\/ul>\n\n<h4>Who Is This Plugin For?<\/h4>\n\n<ul>\n<li>WordPress developers who need to embed safe HTML in Elementor<\/li>\n<li>Freelancers building client websites<\/li>\n<li>Business owners who need basic HTML customization<\/li>\n<li>Anyone who wants to add iframes, tables, or custom markup in Elementor<\/li>\n<\/ul>\n\n<h4>Requirements<\/h4>\n\n<ul>\n<li>WordPress 5.0+<\/li>\n<li>Elementor (free version works) \u2014 required, this plugin is not affiliated with Elementor<\/li>\n<li>PHP 7.2+<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/wexlab-html-blocks-for-elementor\/<\/code><\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress<\/li>\n<li>Open any page with <strong>Elementor<\/strong><\/li>\n<li>Search for <strong>\"Custom HTML\"<\/strong> in the widget panel<\/li>\n<li>Drag the widget to your desired location<\/li>\n<li>Add your HTML code and click <strong>Publish<\/strong><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20this%20plugin%20made%20by%20elementor%3F\"><h3>Is this plugin made by Elementor?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20work%20with%20the%20free%20version%20of%20elementor%3F\"><h3>Does this plugin work with the free version of Elementor?<\/h3><\/dt>\n<dd><p>Yes! This plugin works perfectly with the free version of Elementor. No Elementor Pro required.<\/p><\/dd>\n<dt id=\"can%20i%20add%20javascript%20with%20this%20plugin%3F\"><h3>Can I add JavaScript with this plugin?<\/h3><\/dt>\n<dd><p>No. This plugin does not allow JavaScript, CSS, or any executable code. Only safe HTML tags are permitted through a strict wp_kses() allowlist.<\/p><\/dd>\n<dt id=\"is%20this%20plugin%20compatible%20with%20my%20theme%3F\"><h3>Is this plugin compatible with my theme?<\/h3><\/dt>\n<dd><p>Yes, this plugin is compatible with all WordPress themes including Blocksy, Astra, GeneratePress, OceanWP, and more.<\/p><\/dd>\n<dt id=\"will%20this%20plugin%20slow%20down%20my%20website%3F\"><h3>Will this plugin slow down my website?<\/h3><\/dt>\n<dd><p>No. The plugin is extremely lightweight and only loads a minimal CSS file on the frontend.<\/p><\/dd>\n<dt id=\"where%20can%20i%20get%20support%3F\"><h3>Where can I get support?<\/h3><\/dt>\n<dd><p>Please use the WordPress.org support forum for any questions or issues.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Basic HTML widget for Elementor<\/li>\n<li>Wrapper style controls (padding, background)<\/li>\n<li>Strict wp_kses() HTML sanitization for security<\/li>\n<\/ul>","raw_excerpt":"Add custom HTML code anywhere in Elementor with this simple, lightweight, and secure widget.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/341853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=341853"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpexpertlab"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=341853"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=341853"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=341853"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=341853"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=341853"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=341853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}