Saltar al contenido
User guidePlugin version 1.1.46

MisterPlan plugin for WordPress

How to install the plugin, create booking engines, search widgets and sales panels, and add them to your website step by step.

In this guide

Help

01 · GETTING STARTED

Introduction

With this plugin you can add MisterPlan booking engines to your WordPress website without touching any code.

To use it you need an active MisterPlan service. Find out more at misterplan.es.

If you'd rather watch a video, here's an overview of the plugin.

Tip

Always keep the plugin up to date: each release fixes bugs and improves compatibility with third-party themes and plugins.

02 · GETTING STARTED

Install the plugin

The plugin is available in the official WordPress plugin directory.

1

In your WordPress dashboard, go to Plugins › Add New Plugin.

2

Search for «MisterPlan».

3

Click Install Now.

4

Go to Installed Plugins and click Activate on the MisterPlan plugin.

Note

You can also download it from wordpress.org/plugins/misterplan and install it manually.

Plugins › Add New Plugin
Plugins › Add New Plugin
Search for «MisterPlan» and install
Search for «MisterPlan» and install
Activate the plugin under Installed Plugins
Activate the plugin under Installed Plugins

03 · GETTING STARTED

Create the confirmation page

This is the public page where customers enter their details, pay and confirm their booking. Without it, the engines won't work.

1

Open the plugin from the WordPress sidebar menu: MisterPlan.

2

Click Create confirmation page automatically.

3

The buttons Edit and View will appear so you can open the new page.

The page contains a shortcode that displays the confirmation. You can change the URL, title or content, but don't delete the shortcode.

Important

The page visibility must be set to Public. Otherwise, nobody will be able to complete a booking.

Sidebar menu › MisterPlan
Sidebar menu › MisterPlan
Create the page automatically
Create the page automatically
Edit or view the confirmation page
Edit or view the confirmation page
The page in the editor, with its shortcode
The page in the editor, with its shortcode
How the page looks on your website
How the page looks on your website
Visibility: Public
Visibility: Public

04 · ENGINES AND SEARCH WIDGETS

Create a booking engine

Once the confirmation page is ready, you can create booking engines, search widgets and sales panels.

1

On the plugin page, click Create new booking engine for accommodation or … for activities.

2

Fill in the form with the details provided by MisterPlan (accommodation or activity ID, destination ID, point of sale ID, widget ID and control hash) and give it a name so you can identify it.

3

Click Create booking engine.

4

The engine appears on the plugin page. From there you can change its settings or see how to embed it.

Create an accommodation engine
Create an accommodation engine
Create an activities engine
Create an activities engine
Engine form
Engine form
Engine created
Engine created

05 · ENGINES AND SEARCH WIDGETS

Accommodation engine

MisterPlan will give you these details to enter in the configurator:

  • Accommodation ID
  • Destination ID
  • Point of sale ID
  • Widget ID
  • Control hash
Accommodation engine details
Accommodation engine details

Settings

Default language
The language the engine opens in. You can set one or let the plugin use the visitor's browser language. If that language isn't available, it's shown in English.
Show language selector
Displays a selector above the engine so customers can switch language.
Automatic search on load
When the page opens, the engine shows results straight away for a preset date (or the customer's last search).
Show photo carousel
Displays the accommodation's photos above the engine. Full engine type only.
Default date
The date the engine opens with: tomorrow, the day after tomorrow or the next weekday of your choice. If not set, today (or the last date searched).
Number of nights
Nights selected by default.
Room ID
Limits the engine to a group of rooms. Recommended with the simple engine: the full one still shows information for the whole property.

Note

«Default date» and «Number of nights» may not work properly if you use caching plugins.

Languages set in the browser
Languages set in the browser
Language selector
Language selector
Photo carousel
Photo carousel

Engine type

FULL

Left: all the property information; right: the availability search and results.

SIMPLE · RECOMMENDED

Just the availability search and results.

You can create as many engines as you like, for one or several properties and with different settings: for example, the full engine on one page and the simple one on another.

Full engine
Full engine
Simple engine
Simple engine

Advanced settings

Strict results
Only shows results that exactly match the number of guests searched.
Minimum / maximum occupancy
Default values for the guest selector. For the maximum, always enter one place fewer than the property's actual capacity.
Hide children
Shows or hides the children selector.
Engine loading type
If the engine doesn't appear on the public page, change the Engine loading type to «Delayed load (due to jQuery incompatibility)». It tries to automatically resolve JavaScript conflicts with other plugins and themes. If it still doesn't show, contact MisterPlan.

06 · ENGINES AND SEARCH WIDGETS

Activities engine

MisterPlan will give you these details to enter in the configurator:

  • Activity ID
  • Destination ID
  • Point of sale ID
  • Widget ID
  • Control hash
Activities engine details
Activities engine details

Settings

Default language
The language the engine opens in. You can set one or let the plugin use the visitor's browser language. If that language isn't available, it's shown in English.
Show language selector
Displays a selector above the engine so customers can switch language.
Automatic search on load
When the page opens, the engine shows results straight away for a preset date (or the customer's last search).
Show photo carousel
Displays the activity's photos above the engine. Full engine type only.
Photo carousel in the activities engine
Photo carousel in the activities engine

Engine type

FULL

Left: all the activity information; right: the availability search and results.

SIMPLE

Just the availability search and results.

Just like with accommodation, you can create as many engines as you like with different settings.

Full engine
Full engine
Simple engine
Simple engine

Advanced settings

Engine loading type
If the engine doesn't appear on the public page, change the Engine loading type to «Delayed load (due to jQuery incompatibility)». It tries to automatically resolve JavaScript conflicts with other plugins and themes. If it still doesn't show, contact MisterPlan.

07 · ENGINES AND SEARCH WIDGETS

Search widget

Shows availability and prices for all the properties or experiences in your destination. Clicking «Book» takes visitors to the page with your engine.

Important

Before creating a search widget you need an accommodation or activities engine running on a page of your WordPress site.

Example: the /bookings page holds the engine (ideally the full one) and another page holds the search widget, set to send visitors to /bookings.

Details provided by MisterPlan:

  • Destination ID
  • Point of sale ID
Search widget details
Search widget details
Search widget with results
Search widget with results
When booking, the engine page opens
When booking, the engine page opens

Settings

Default language
The language the engine opens in. You can set one or let the plugin use the visitor's browser language. If that language isn't available, it's shown in English.
Show language selector
Displays a selector above the engine so customers can switch language.
Automatic search on load
When the page opens, the engine shows results straight away for a preset date (or the customer's last search).
Show agency selector
Adds a filter by agency.
Show location selector
Adds a filter by location.
Destination page
The most important setting. Choose a page on your WordPress site with an embedded MisterPlan booking engine created with the plugin. Pages where the engine was pasted as HTML code don't appear in the list. If the list is empty, create a page with an engine first. We recommend an engine of type Full. When a result is selected, that page opens with the property or activity already loaded.
Destination page
Destination page

08 · ENGINES AND SEARCH WIDGETS

Date picker

A simple date picker for a single property or activity that leads to the engine without loading it on the page. It also shows availability.

Important

You need an accommodation or activities engine running on a page, and that engine must be of type Full: with the simple engine, dates aren't picked up correctly.

To set it up, enter:

  • Accommodation or activity ID
  • Destination ID
  • Point of sale
  • Engine page
  • Type: accommodation or activities

For accommodation you pick a range (check-in and check-out); for activities, a single date.

To search across several properties or activities, use a Search widget.

It's embedded like the others: by creating a page or pasting its shortcode.

Date picker with availability
Date picker with availability

Customise the look

If you know CSS, you can add styles in the field provided. These are the selectors:

Date field

#MrPlanPlugin_DateRangePicker {
  …
}

Button

#MrPlanPlugin_SimpleSearchBtn {
  …
}

09 · ENGINES AND SEARCH WIDGETS

Sales panel

Shows all your experiences on a single page. It's the only element MisterPlan needs to finish configuring after you create it.

Important

You need an activities engine running on a page of your WordPress site.

Details provided by MisterPlan:

  • Destination ID
  • Point of sale ID
  • Sales panel ID
  • Control hash
Sales panel details
Sales panel details
Sales panel
Sales panel

Settings

Default language
The language the panel opens in. You can set one or use the visitor's browser language.
Booking engine page
Essential. Choose a page on your WordPress site with an embedded MisterPlan activities engine created with the plugin. Pages where the engine was pasted as HTML code don't appear in the list. If the list is empty, create a page with an engine first. We recommend an engine of type Full.
1

Create the panel and embed it on a page.

2

Send the URL of that page to MisterPlan support so they can finish the setup.

Booking engine page
Booking engine page

10 · INTEGRATION

Create a page automatically

When you create an engine, search widget or panel, integration instructions with two options appear at the bottom.

The first option creates a page with the engine already embedded. By default it takes the engine's name; you can change the title and add content, but don't delete the shortcode.

1

Create page with the booking engine: standard version.

2

… (With full-width): the engine spans the full width, if your theme allows it.

Remember

The page is created as a draft. Publish it so your customers can see it.

Integration instructions
Integration instructions
Option 1: create page
Option 1: create page
Page created with the shortcode
Page created with the shortcode

11 · INTEGRATION

Add the engine with a shortcode

The integration instructions include a shortcode you can use to place the engine anywhere on your website.

[misterplan_motor id_motor="246"]
1

Copy the engine's shortcode.

2

Open an existing page or create a new one.

3

Add a block with the button +.

4

Search for «shortcode» and add it.

5

Paste the code where it says «Type shortcode here».

6

Save. The page now has the engine embedded.

2–3 · Page and + button
2–3 · Page and + button
4 · Shortcode block
4 · Shortcode block
4 · Block inserted
4 · Block inserted
5 · Shortcode pasted
5 · Shortcode pasted

Engine in another default language

There's a different shortcode for each language you want the engine to open in. You'll find them in the same integration instructions.

Shortcodes by language
Shortcodes by language

12 · INTEGRATION

Booking engine with POS

Note

If your engine has an integrated payment gateway (POS), send MisterPlan support the URL of your confirmation page. That way, after paying, customers are correctly returned to your website.

13 · COMPATIBILITY

Style conflicts

The plugin works with the main WordPress themes, but some may alter its appearance. You can fix this with CSS in two ways:

1

In the Styles for conflicts with your theme field of each engine. They load right before the engine.

2

In your theme's styles, under Appearance. Recommended.

Styles for conflicts with your theme
Styles for conflicts with your theme

14 · COMPATIBILITY

Problematic plugins and themes

These themes and plugins can be made to work, but their settings need adjusting.

Divi theme
In the theme options, turn off «Defer jQuery and jQuery Migrate».
Slider Revolution
For sliders to work on the same page as an engine, choose in the engine settings «Delayed load (due to jQuery incompatibility)».
Elementor
Compatible. MisterPlan shortcodes appear disabled in the editor. See chapter 15.
WP-Rocket
May cause issues. See chapter 16.
Headers Security Advanced & HSTS WP
May fail with some engines, especially with a shopping cart. For now the only fix is to deactivate it.
Simply Schedule Appointments
Not compatible. If it's installed, the MisterPlan plugin won't work.
Divi › Theme Options
Divi › Theme Options
Turn off «Defer jQuery and jQuery Migrate»
Turn off «Defer jQuery and jQuery Migrate»

Still having problems?

Contact MisterPlan support. The plugin's main page has a Debug information section: send it along with a URL where the embedded engine can be seen.

Debug information
Debug information

15 · COMPATIBILITY

Working with Elementor

When you edit pages containing an engine or the confirmation page with Elementor, MisterPlan shortcodes appear disabled.

If the editor still gives you trouble:

1

Turn on Elementor's Safe Mode: Elementor › Tools › Safe Mode.

2

Or temporarily deactivate the MisterPlan plugin while you edit. The shortcodes will show as plain text: don't delete them. When you're done, reactivate it.

Note

Deactivating the plugin doesn't delete your engines or the confirmation page. But while it's deactivated, the engines won't work on your website.

MisterPlan shortcode disabled in Elementor
MisterPlan shortcode disabled in Elementor
Elementor › Tools › Safe Mode
Elementor › Tools › Safe Mode
Deactivate the plugin
Deactivate the plugin

16 · COMPATIBILITY

Conflicts with WP-Rocket

The plugin may fail if WP-Rocket's LazyLoad option is enabled.

Check whether WP-Rocket is the cause

1

Add ?nowprocket to the URL of the page with the engine.

2

Reload. If the engine now works, WP-Rocket is the problem.

More information in the WP-Rocket documentation.

Solution

According to the WP-Rocket documentation, you have two options:

A

Turn off LazyLoad in WP-Rocket.

B

Add the domain mrplan.io to the exclusion list.

17 · COMPATIBILITY

Salient theme

We've found many issues with this theme, especially when creating the confirmation page and engines. It's marked as not compatible and we don't provide support for it.

If you still need to use it:

1

Temporarily activate another theme.

2

Set up the plugin: create the confirmation page and the engines.

3

Embed the engines in your pages.

4

Reactivate the Salient.

Note

We're working to improve compatibility with this theme.

18 · HELP

FAQ

The engine won't load. What can I do?

1

Update the plugin to the latest version.

2

Check Problematic plugins and themes: it's usually a conflict with another plugin or the theme.

3

Change the engine loading type to «Delayed load (due to jQuery incompatibility)».

4

If it still doesn't work, contact MisterPlan.

Engine loading type
Engine loading type

I can't install the plugin

Check that your server and WordPress installation meet the minimum requirements:

  • WordPress 6
  • PHP 8

Some parts of the engine look odd

Update the plugin: each release fixes styling issues.

Some themes or plugins override the engine's styles. If you know CSS, fix them in the field Styles for conflicts with your theme.

Styles for conflicts with your theme
Styles for conflicts with your theme

The sales panel doesn't link to the booking engine correctly

MisterPlan hasn't finished configuring it yet. Send support the URL of the page with the sales panel or the booking engine page.

I can't create a search widget: it asks me to create an engine first

1

Update the plugin. Versions before 1.1.8 had a bug that prevented creating search widgets.

2

Check that you have an accommodation or activities engine created and embedded on a page.

3

If no page appears in the «Pages with an embedded booking or search engine» section, the engine isn't embedded correctly. Check Integration.

Pages with an embedded engine
Pages with an embedded engine

Need help?

Our support team is here to help with any question.

Contact support