iFrame – Embed Any Website Content Without the Hassle

תיאור

Embed any website, video, or map into your pages with a fully customizable, responsive iframe – no code required.

Why iFrame?

iFrame is a lightweight WordPress Gutenberg block plugin that makes embedding external content simple. Add the block, paste your URL, and fine-tune everything from the block sidebar – title, loading behavior, width, height, and fullscreen mode.

Beyond the basics, iFrame gives your embeds a polished look with design controls for borders and shadows, so external content blends naturally into your site instead of looking bolted on. Prefer shortcodes? A flexible shortcode is included, so you can drop responsive iframes anywhere shortcodes work.

Free Features

  • Title: Specify a title for the iframe for clarity and accessibility.
  • Loading Behavior: Configure how and when the iframe loads.
  • Full Screen: Enable full-screen mode for the embedded content.
  • Layout Controls: Define the exact width and height of the iframe.
  • Design Options: Apply borders, corner radius, and shadows to enhance the iframe's appearance.
  • Shortcode Support: Embed iframes outside the block editor with a simple shortcode.

How to Use iFrame – Quick Start

  1. Install and activate the iFrame plugin.
  2. In the Gutenberg editor, add the iFrame block from the Media block category.
  3. Enter the URL you want to embed.
  4. Adjust title, loading behavior, size, borders, and shadows from the right-side settings sidebar.
  5. Publish – your embed is live!

Shortcode: Use the following shortcode to embed an iframe anywhere:

    [iframe src='https://bplugins.com' title='bPlugins Website' width='100%' height='800px' loading='auto' border_width='2px' border_style='solid' border_color='#146EF5' border_radius='8px']

Use Cases

  • Website Embeds: Show another site or web app inside your page.
  • Video & Media: Embed external video or media players.
  • Maps: Display interactive maps on contact or location pages.
  • Docs & Tools: Surface external dashboards, forms, or documentation without sending visitors away.

Did you like this plugin? Do you have a feature request? Please share your feedback with us

Check out the Parent Plugin of this plugin-

B Blocks – A blocks collection and page building tool for Gutenberg.

Check out our other WordPress Plugins-

Html5 Video Player – Display videos as single and playlist in multiple skins.

PDF Poster – Display/Embed PDF files with different styles.

Html5 Audio Player – Listen audios with awesome visuals.

StreamCast – Customizable radio player with different skins.

3D Viewer – Embed 3D models and 3D products with interaction.

Advanced Post Block – Show posts and custom posts in different layouts.

Source Code

The complete, un-minified source code for this plugin's JavaScript and CSS is included in the src/ directory of the plugin, and is also available on GitHub:
iFrame on GitHub

Build instructions

The compiled files in build/ are generated from src/ using @wordpress/scripts (webpack). To build them yourself:

  1. Install Node.js (18+) and npm.
  2. From the plugin directory, run npm install to install the build dependencies (see package.json).
  3. Run npm run build to compile src/ into the minified files in build/.
  4. Run npm start instead for a development build with file watching.

The build tooling is configured in package.json and webpack.config.js. The full development setup, including the linting configuration, is available in the GitHub repository linked above.

Third-Party Libraries

This plugin bundles the following third-party JavaScript/PHP libraries.

bpl-tools

  • Source / GitHub: https://github.com/bPlugins/bpl-tools
  • License: GPL-2.0-or-later – https://www.gnu.org/licenses/gpl-2.0.html
  • Purpose: Shared utility library providing admin dashboard components and common Gutenberg editor controls.
  • External Services: The library may connect to bPlugins, WordPress.org, and Freemius services for product data and checkout functionality. See full details: https://github.com/bPlugins/bpl-tools#external-requests–why-they-are-made

צילומי מסך

בלוקים

תוסף זה מספק בלוק 1.

  • iFrame Embed website in your page!

התקנה

From your WordPress dashboard (recommended):

  1. Go to Plugins Add New.
  2. Search for "iFrame".
  3. Click Install Now, then Activate.
  4. Add the iFrame block to any post or page from the Gutenberg editor.

Manual installation:

  1. Download the iFrame plugin (.zip file).
  2. In your admin area, go to Plugins Add New Upload Plugin, choose the b-iframe.zip file, and click Install Now.
  3. Activate the plugin through the Plugins menu in WordPress.

שאלות נפוצות

Is iFrame free?

Yes, iFrame is a free Gutenberg block plugin.

Does it work with any WordPress theme?

Yes, it works with any standard WordPress theme.

Can I change the block settings?

Yes, you can change all block settings from the right sidebar of the Gutenberg block editor.

How many times can I reuse the block?

You can use the block an unlimited number of times across posts and pages.

Can I embed an iframe with a shortcode instead of the block?

Yes. The plugin includes an [iframe] shortcode with attributes for the source URL, title, width, height, loading behavior, and border styling, so you can embed iframes anywhere shortcodes are supported.

Can I control the size of the embedded iframe?

Yes. You can define the exact width and height of the iframe from the block settings, and embeds are responsive on the front end.

Can I style the iframe with borders and shadows?

Yes. The Style tab lets you control the border width, style, color, corner radius, and box-shadow of the iframe.

Where can I get support?

You can post your questions on the support forum here.

סקירות

There are no reviews for this plugin.

מפתחים

"iFrame – Embed Any Website Content Without the Hassle" הוא תוסף קוד פתוח. האנשים הבאים תרמו ליצירת התוסף הזה.

תורמים

שינויים

1.0.0

  • Initial Release