This plugin allows you to embed the Planyo reservation form on your web site.
This way, your clients will stay on your web site throughout the whole reservation process.
You can find more information about the integration process at your Planyo account. Once logged in, go to the
if you don't mind that your clients will be redirected to planyo.com to make a reservation,
you don't need to use this plugin at all.
First download the WordPress plugin (
available here).
After downloading the plugin, unzip its contents into the
wp-content/plugins/planyo directory inside the main WordPress directory. Once in the WordPress admin panel, activate the Planyo plugin.


Now, you should choose the location for the Planyo form. Here we'll create a new page. Of course you can use any existing location as well.

To embed Planyo on this page, simply enter the
[planyo] shortcode anywhere in the page body. Click
Publish to publish the page.
And that's it! Below is the result of the integration.
Please note that you can update the file
planyo-styles.css inside the Planyo plugin directory to adjust the look&feel of the plugin. Also note that Planyo can work with both jQuery and mootools javascript libraries. The default is jQuery but you can change it in the Planyo plugin settings. You may also tell planyo not to include the library if it's already present on your website. Note that jQuery has a higher level of compatibility than mootools (e.g. if you also use prototype) so it's a preferred choice.

After inserting the planyo form on the chosen page, this form will display, depending on usage, an availability search form (with results), a reservation form, or other Planyo-related content required for the reservation process. After choosing one of the widgets available in the next step of the tutorial (Availability search box, Calendar preview or 'Make reservation' button) you should enter the URL of the page with the planyo form (e.g. http://myserver.com/my_reservations.php) in the URL of the reservation page on your website field. This way, using any of these widgets will keep the visitor on your website (to be more specific, on the page with the planyo form) throughout the reservation process.
If you want to embed the planyo plugin on many pages of your website (e.g. a search page, a page with a list of your resources, or on each resource details page) you can also set the display mode of the embedded planyo instance by adding an
attribute string to the shortcode. The syntax is as follows:
[planyo attribute_string='attr_str'] where
attr_str is the attribute string which you can copy/paste from some of the widgets (in the last step of settings/integrate with my website) or you can consult
the FAQ question Q167. Example:
[planyo attribute_string='mode=reserve&resource_id=xyz'] will display the reservation form for resource xyz (where xyz is a number representing a resource ID).