-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
90 lines (61 loc) · 4.74 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
=== Hotel Booking Styles & Templates ===
Contributors: motopress
Donate link: https://motopress.com/
Tags: motopress hotel booking, hotel booking styles, free hotel booking plugin, booking form
Requires at least: 5.4
Tested up to: 6.7
Requires PHP: 5.6
Stable tag: 1.1.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
A set of tools to easily customize and style the booking forms, widgets, and accommodation type pages for the MotoPress Hotel Booking plugin.
== Description ==
This is an extension to the MotoPress [WordPress Booking plugin](https://motopress.com/products/hotel-booking/) for hotels.
It provides you with a bundle of ready-made CSS classes for customizing the property search form, booking forms, and other Hotel Booking shortcodes/blocks. It also allows you to give a preferred look to individual accommodation pages via a user-friendly customizer.
The Hotel Booking styles addon will help you revamp and enhance your hotel website design with the required style adjustment.
The add-on also works for the [free Hotel Booking](https://wordpress.org/plugins/motopress-hotel-booking-lite/) plugin version.
### How to work with styles
With the Hotel Booking Styles addon, it’s super easy to take the customization of the WordPress hotel booking plugin further and apply the following changes to your forms:
* Make the property search form horizontal.
* Remove field labels.
* Remove paddings between the form fields.
* Hide the "Required fields are followed by *" indication.
* Apply an automatic form width adjustment (using a wrapper).
* Stretch the button in the property search form or widget to adjust it to the width of your website container.
* Set custom width for the form fields.
You don’t need any technical background to modify the styles, just copy and paste them to the needed blocks or shortcodes!
The focus of our roadmap is to add more styles and make this plugin even handier by transforming the way you add styles into a more user-friendly settings panel.
How to use the Hotel Booking Styles plugin:
*The MotoPress Hotel Booking plugin must be installed and activated.*
1. Install and activate the Hotel Booking Styles addon.
2. Go to Accommodation > Settings > Extensions > Styles tab.
3. You’ll see the list of available classes you can apply. Each class comes with a list of applicable Hotel Booking shortcodes.
4. Add a Hotel Booking block/shortcode to the page:
5. If you use shortcodes, copy the class and paste it into the shortcode. Example:
\[mphb_availability_search class="is-style-horizontal-form"\]
6. If you use Gutenberg blocks, add a Hotel Booking block to the page, then go to the right-hand block settings panel > Advanced > paste the class. Use spaces to add several classes.
### How to work with templates
You can also create custom templates for the accommodation type pages, which will allow you to change the default look of the individual accommodation listings. For example, you can change the order of the accommodation details, turn an image gallery into a slider, choose which extra attributes to show, and do even more tweaks via a user-friendly interface.
1. To add a new template, go to Accommodation > Templates > Add New > Give it a name.
2. Click on every block to see its customization panel from the right and make the needed edits. You can optionally change the order of the blocks or even delete unneeded ones.
3. Once you customized and saved your template, go to Accommodation types > select the one you want to apply a new look to > choose the needed one from the Template selector > save the changes.
If you are looking for a WordPress hotel template powered by Hotel Booking with the perfectly adjusted styling and custom design, check out our library of the [rental property WordPress themes](https://motopress.com/products/category/hotel-rental-wordpress-themes/).
== Installation ==
1. Upload the plugin to the /wp-content/plugins/ directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
== Copyright ==
Hotel Booking Styles & Templates, Copyright (C) 2020, MotoPress https://motopress.com/
Hotel Booking Styles & Templates plugin is distributed under the terms of the GNU GPL.
== Changelog ==
= 1.1.2, Jan 08 2024 =
* Improved template replacement for Accommodation Type templates created via Elementor.
= 1.1.1, May 29 2023 =
* Fixed an issue with the slider columns setting in the Accommodation Type Gallery block.
= 1.1.0, Nov 15 2022 =
* Added the ability to edit templates of the Accommodation Type pages.
= 1.0.2, Nov 23 2021 =
* Security - sanitization and escaping.
= 1.0.1, Feb 24 2021 =
* Added the ability to set horizontal layout of the Booking and Search Availability forms in the Hotel Booking & Elementor Integration plugin.
= 1.0.0, Apr 24 2020 =
* Initial release.