Dweelio Embed
Dweelio is a comprehensive property rental management system designed for property owners and managers. It provides a complete solution for managing rental properties, handling bookings, setting availability and pricing, and integrating booking functionality into your existing website. Dweelio Embed is a lightweight plugin that allows you to easily embed Dweelio content on your WordPress site using a custom Gutenberg block. This plugin enables you to integrate your Dweelio property booking widgets directly into your WordPress pages. Simply add the Dweelio Embed block to your page or post, enter your Dweelio UUID, adjust the height if needed, and publish. The plugin will create an iframe that loads your Dweelio content, allowing your visitors to check availability, calculate prices, and make bookings without leaving your site. For more information, visit dweelio.com or email us at info@dweelio.com. Features Easy-to-use Gutenberg block Customizable embed height Responsive design Minimal footprint External Services This plugin connects to the Dweelio API to display a property booking widget. What it does: When a visitor loads a page containing the Dweelio Embed block, the plugin renders an that loads the Dweelio booking interface from https://api.dweelio.com. The visitor can then check availability, view pricing, and complete a booking without leaving your site. What data is sent: The only data transmitted to Dweelio’s servers is the property UUID that the site administrator entered in the block settings. No personal data of the page visitor is sent by the plugin itself; any personal data collected (e.g. guest name, email, payment details) is entered directly by the visitor inside the iframe and handled by Dweelio in accordance with its own policies. When data is sent: Every time a visitor loads a page that contains the Dweelio Embed block. Service provider: Dweelio (https://dweelio.com) Terms of Service Privacy Policy Source Code This plugin uses a JavaScript build step (via @wordpress/scripts / webpack) to produce the compiled build/index.js file that WordPress loads in the block editor. The uncompiled source code is included in the src/ directory of this plugin. To rebuild from source: Install Node.js (v16+) and npm. Run npm install in the plugin directory. Run npm run build to produce the build/ assets. The full source is also publicly available on GitHub: https://github.com/abelfernandez1/dweelio-wordpress
iframe
Advanced iFrame iframe Donate GitHub [iframe src=”http://www.youtube.com/embed/7_nAZQt9qu0″ width=”100%” height=”500″] shortcode should show something like this: WordPress removes iframe html tags because of security reasons. Iframe shortcode is the replacement of the iframe html tag and accepts the same params as iframe html tag does. You may use iframe shortcode to embed content from YouTube, Vimeo, Google Maps or from any external page. If you need to embed content from YouTube, Vimeo, SlideShare, SoundCloud, Twitter via direct link, you may use [embed]http://www.youtube.com/watch?v=7_nAZQt9qu0[/embed] shortcode. [embed] shortcode is a core WordPress feature and can embed content from many resources via direct link. Important: You can not embed HTTP pages into HTTPS pages and vice versa. So the protocol (http or httpS) for parent and embedded page should match. iframe params: src – source of the iframe: [iframe src="http://www.youtube.com/embed/7_nAZQt9qu0"]; by default src=”http://www.youtube.com/embed/7_nAZQt9qu0″; width – width in pixels or in percents: [iframe width="100%"] or [iframe width="600"]; by default width=”100%”; height – height in pixels: [iframe height="500"]; by default height=”500″; scrolling – with or without the scrollbar: [iframe scrolling="no"]; by default scrolling=”yes”; frameborder – with or without the frame border: [iframe frameborder="0"]; by default frameborder=”0″; marginheight – height of the margin: [iframe marginheight="0"]; removed by default; marginwidth – width of the margin: [iframe marginwidth="0"]; removed by default; allowtransparency – allows to set transparency of the iframe: [iframe allowtransparency="true"]; removed by default; id – allows to add the id of the iframe: [iframe id="custom_id"]; removed by default; class – allows to add the class of the iframe: [iframe class="custom_class"]; by default class=”iframe-class”; style – allows to add the css styles of the iframe: [iframe style="margin-left:-30px;"]; removed by default; same_height_as – allows to set the height of iframe same as target element: [iframe same_height_as="div.sidebar"], [iframe same_height_as="div#content"], [iframe same_height_as="body"], [iframe same_height_as="html"]; removed by default; any_other_param – allows to add new parameter of the iframe [iframe any_other_param="any_value"]; any_other_empty_param – allows to add new empty parameter of the iframe (like “allowfullscreen” on youtube) [iframe any_other_empty_param=""];