Forum Replies Created
- AuthorPosts
- May 29, 2020 at 6:24 am in reply to: Search Result / Availability List – Custom Display Options #960225Andre FloresModerator
Hi, Jan!
You are most welcome. In case there are more similar requests from other users, we will definitely consider adding this feature in one of plugin future updates.
Regards,
AndreMay 28, 2020 at 7:42 am in reply to: Is there any way to get rid of the page title/header on the home page? #959787Andre FloresModeratorHello, Fred!
You may hide all the pages titles if needed by using the following code:
.site .site-wrapper .site-header .site-header-wrapper { display: none; }
If you would like to get rid of the header on specific pages, you may use the previous code, provided by J.Davis, replacing
.home
with the desired page ID. You may get the page ID using your browser “Inspect Element (F12)” feature, e.g.: https://prnt.sc/sp8dyg..page-id-180 .site-header-wrapper { display: none; }
Regards,
AndreMay 28, 2020 at 7:34 am in reply to: Search Result / Availability List – Custom Display Options #959779Andre FloresModeratorHello, Jan!
Unfortunately, there is no option to separate search results by pages by default, however, you may use any additional plugin to do that, e.g. Load More Anything plugin – it allows to set any element class/ID, where the load more button should appear. You will be able to allow your Guests to load more results, once they reach the last (10th) accommodation type if needed: https://prnt.sc/sp86wb.
As for search results page layout, you may check this article on how to make accommodation types displayed in several columns.Regards,
AndreMay 28, 2020 at 7:18 am in reply to: Search Result / Availability List – Custom Display Options #959773Andre FloresModeratorHi, Tilman!
Custom CSS added under Appearance ->Customize ->Additional CSS will not be lost after any plugin/theme update, no worries at all.
As for Loco Translate changes, you should make sure to store translations in directories, other than the plugin/theme directory. You may easily check it by navigating to Loco Translate ->Plugins ->Hotel Booking – open desired language and click “Relocate” tab – you will see, where your language files are stored, make sure they are either under /languages/plugins/ or /languages/loco/plugins/ directory.
Overall, if you are planning to perform any changes to theme/plugin code, it is recommended to override the original code by using child theme, not directly in plugins files.Regards,
AndreMay 28, 2020 at 7:11 am in reply to: Link to services on checkout form (or pop-up info window) #959769Andre FloresModeratorHi, Tilman!
You are welcome!
Regards,
AndreMay 27, 2020 at 7:50 am in reply to: Link to services on checkout form (or pop-up info window) #959177Andre FloresModeratorHi, Tilman!
1). That is correct, I was referring to the shortcode, which is usually inserted to the page content. However, you may add it to the widget as well. Simply add the “Text” widget to any desired widget area and insert the shortcode into it: https://prnt.sc/sol3pr.
2). It would require some custom CSS coding, you may check an example here.
Feel free to submit a request to our Help Desk for further assistance.Regards,
AndreMay 27, 2020 at 7:34 am in reply to: Search Result / Availability List – Custom Display Options #959170Andre FloresModeratorHi, Tilman!
1). You may find out any element class/ID by using Inspect Element feature in your browser: https://prnt.sc/sokt0m.
2). If you would like to hide titles in the Special Offers widget, you may add the following code under Appearance ->Customize ->Additional CSS:
.mphb-widget-room-type-attributes .mphb-attribute-title { display: none; }
This is how it will look like: https://prnt.sc/sokulq.
3). The availability search and its results do not affect the Special Offers widget, you select accommodation types you would like to be displayed in the widget in widget settings. If your offers are time-limited, you will need to disable/add accommodation types manually.
4). Since the widget is not affected by the search results, the “Book” button leads to accommodation details page, where your Guests could check the availability and other required details. If you think the button text may confuse your Guests, you may change its title by editing the widget PHP code. Look for the line 210 of room-content.php file under /wp-content/plugins/motopress-hotel-booking/templates/widgets/rooms/ directory:
<?php mphb_tmpl_the_loop_room_type_book_button_form(); ?>
Replace it with the following:
<?php mphb_tmpl_the_loop_room_type_view_details_button(); ?>
Please note, that this is a temporary solution, since changes may be reverted after the plugin update.
Regards,
AndreAndre FloresModeratorHi, Luis!
You are most welcome!
Regards,
AndreMay 26, 2020 at 9:37 am in reply to: Link to services on checkout form (or pop-up info window) #958753Andre FloresModeratorHello, Tilman!
1). You may display specific services using [mphb_services] shortcode, by adding desired services ID’s, e.g.:
[mphb_services ids="1,2,3"]
Where 1,2,3 are the ID’s of services you would like to be displayed.
You may set featured image for each of the service, so they look nicer on the page.2). As for the Checkout page, you may add icons next to each service via custom CSS coding.
Regards,
AndreAndre FloresModeratorHi, Tilman!
You are always welcome. I am glad you were able to get to the bottom of the issue and have it resolved!
Best regards,
AndreMay 26, 2020 at 7:36 am in reply to: Search Result / Availability List – Custom Display Options #958688Andre FloresModeratorHello, Tilman!
The layout of the Search Results Page itself and the appearance of accommodation types on that page can be edited via custom CSS coding.
If you have a lot of amenities, you may hide them all at once or some specific ones if needed. For example, use below code to hide in-room safety amenity:.mphb-room-type-facilities .facility-in-room-safe { display: none; }
Each amenity has its own CSS class, so you can easily hide any of them separately or several at once.
As for the Special Offers section, it uses the Accommodation Types widget – you may configure the look of the widget by adjusting its settings: https://prnt.sc/snw1te. You may hide Description, but enable Details, for example, it should take less space and look better.
Regards,
AndreAndre FloresModeratorHi, Tilman!
In your case the option would be removing translation file you have used to translate the plugin/theme. Navigate to Loco Translate ->Plugins/Themes and look for “Delete” tab – you may back-up translation files in specified paths before deleting them, just in case: https://prnt.sc/sn7zsj.
As for the changes not being applied to the language files, it may be the issue with permissions on your server, which do not allow overwriting files after changes are performed in the plugin. The issue also may be caused by some third-party plugins, I would recommend that you deactivate them in order to check whether one of them causes the issue.
If there is still no luck, do not hesitate to submit a request to our Help Desk for further investigation.Regards,
AndreMay 25, 2020 at 7:05 am in reply to: Admin and Customer does not receive Hotel Booking Plugin Email #958212Andre FloresModeratorHello, Kostas!
I see, thank you for the feedback. I am glad that we were able to get to the bottom of the issue.
Regards,
AndreAndre FloresModeratorHi, Luis!
You should also add the following CSS code to the same media query:
.site-main { max-width: 100%; }
So the code will look as follows:
@media (min-width: 992px) { .site-content .widget-area { width: 20%; } .content-area { width: 75%; } .site-main { max-width: 100%; } }
Note, that you will need to change the accommodation type featured image width in order to have it fit the new content width.
Regards,
AndreAndre FloresModeratorHello, Brian!
You may use previously mentioned ICS Calendar plugin to add an availability calendar for multiple accommodation types. Please note, that it will not allow your Guests to book directly from the calendar, however, they will be able to see what dates are free to book. This is an example of how it would look like: https://prnt.sc/skvh4m.
You may style the calendar per your desire using custom CSS.Regards,
Andre - AuthorPosts