Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

MP Booking

Plugin URI: http://wordpress.org/extend/plugins/mp-booking/ Booking WordPress button. Open a booking form in a modal pane. Just insert a shortcode in

I don't see any plugin entry on my dashboard after install. Is it a problem?

This plugin don't add any configuration panel in the dashboard. You just have to add the short code :

[mp_booking object="replace_here_your_room_description" nummax="Replace_here_max_guest_your_room_can_contain_5_for_exemple" label="Replace_here_the_text_to_display_on_the_button" from="Replace_here_your_hostel_name" send_to="Replace_here_by_your_email" captcha="replace_here_by_yes_or_no"]

Exemple : Edit your page where you want to add a button. Under your room description add the code : [mp_booking object="replace_here_your_room_description" nummax="Replace_here_max_guest_your_room_can_contain_5_for_exemple"]

You ca add more option if you want to change the from email adress disable captcha. The shortcode will be replaced by the button.

How I can change the email adress?

If you want to change email adress I highly recomand you to use for example : [mp_booking object="theRoom" nummax="2" label="Book now" from="nameofmyhostel" send_to="admin@gmail.com" captcha="yes"]

Yo can change email adress in : * "From" : The "from" in the mail sended. If not defined, the default sender will be noreply@yourdomain.com If defined as a name and not an email address, the sender will be name@yourdomain. com Can be defined as an address, for example name@gmail.com but in this particular case, the e-mail can be treated like SPAM by e-mail service providers.

  • "send_to" : The mail will be sended to this adress to notify the owner of a new client's booking. You can use email adress such as gmail or hotmail or whatever you want, or multiple adress separated by a coma This email will be displayed at the bottom of client message: "Please reply to: youradress@something.com"

I would like to disable the captcha.

Add captcha="no" in the shortcode

I want to change some text (to translate it, or other) in the form, title, field, button how could I do?

  • Change the text label Go in your plugin direcory. Edit mp-booking-form.php with a notepad Find a label for exemple : Country Change the text into <label...> for exemple: Pays Do not change "for=..."

Save the file. Reload your page in your browser by ctrl+f5 (ctrl to empty page cache)

  • Change "continue", "back" button :

Edit the javascript file "mp-booking.js" in the "js" folder Find : $('#continue-button').html('Continue'); Replace for example by $('#continue-button').html('Suivant'); Save the file. Reload your page in your browser by ctrl+f5 (ctrl to empty page cache)

I want to change the color of the form, how I can do it simply?

You can change by a theme existing in jquery ui by changing the line : wp_enqueue_style('jquery-style', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/themes/ui-lightness/jquery-ui.css');

For exemple by : wp_enqueue_style('jquery-style', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/themes/base/jquery-ui.css');

You can replace /base/ by other theme: black-tie or blitzer or cupertino or dark-hive or dot-luv or vader or ui-lightness or ui-darkness or trontastic or swanky-purse or sunny or start or south-street or smoothness or redmond or pepper-grinder etc... To preview it see gallery tab in : http://jqueryui.com/themeroller/

I want to change the form's window size.

Edit the javascript file "mp-booking.js" in the "js" folder Find : $( "#dialog-form" ).dialog({ autoOpen: false, height: 500, width: 700, ......

Change width and height size.

I want transform a field optional.

Edit the javascript file "mp-booking.js" in the "js" folder find the line : var fieldNeeded=new Array("first_name","name","email","country","date_checkin","date_chekout"); Delete one of field for exemple checkout :
var fieldNeeded=new Array("first_name","name","email","country","date_checkin");

There is a display problem, the form directly appear in my page, ho I can fix it?

Verify if the problem is not due to other plugins installed or the wordpress version. You can try to desactive all others plugins and see if it works, then find wich is in conflict.

I want to add adding payment function like a paypall submition for complete booking, what can I do?

This is currently not implemented. Maybe in a future release.

Requires: 3.0 or higher
Compatible up to: 3.2.1
Last Updated: 5 years ago
Active Installs: 200+


5 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.