Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Display Single Accommodation Type Book button
- This topic has 11 replies, 3 voices, and was last updated 3 years, 8 months ago by Andre Flores.
- AuthorPosts
- February 22, 2021 at 6:02 am #1078354Lee CollierParticipant
I am currently listing my accommodation types on individual pages, all good so far. However the “Book” option takes me to a booking form for that particular accommodation type, the booking form page is not taking the global header and footer width settings and displaying a sidebar I do not want. Any ideas how to edit the booking-form?
February 24, 2021 at 12:51 am #1079584Andre FloresModeratorHello Lee,
The “Book” button redirects you to a single accommodation type page, which has its own layout. You may edit that page using directions from this article.
Regards,
AndreFebruary 26, 2021 at 1:24 am #1080890Lee CollierParticipantOk thanks for that I am currently using the Divi theme do you have instructions for editing the single accommodation type page in Divi?
March 1, 2021 at 11:35 pm #1082907Andre FloresModeratorHello Lee,
It should be similar to editing with Elementor:
– install MotoPress & Divi Integration add-on
– enable the Developer Mode under Accommodation ->Settings
– make sure Accommodation Types are enabled for editing in Divi settingsYou will be able to set any desired layout/template for accommodation type pages after that. Please note that you will need to insert availability calendar and booking form shortcodes:
[mphb_availability_calendar]
[mphb_availability]The ID’s of accommodation types should be fetched automatically for each accommodation type.
Regards,
AndreMarch 19, 2021 at 3:30 pm #1092744Carla OrriolsParticipantThis reply has been marked as private.March 19, 2021 at 3:36 pm #1092746Carla OrriolsParticipantThis reply has been marked as private.March 22, 2021 at 3:14 am #1093311Andre FloresModeratorThis reply has been marked as private.March 23, 2021 at 9:28 am #1094235Carla OrriolsParticipantHi Andre, exactly, the title and photo of the accommodation don’t dissapeard…even i add the “removes”…why the divi integration is not working?
March 23, 2021 at 9:35 am #1094238Carla OrriolsParticipantThe pages are misconfigured and i can’t have it as a blank page…https://hostallesfonts.com/accommodation/habitacio-doble/
March 26, 2021 at 4:50 am #1095699Andre FloresModeratorHello Carla,
In order to get rid of the gallery add the following code to your theme functions.php file:
remove_action( 'mphb_render_single_room_type_metas', array( '\MPHB\Views\SingleRoomTypeView','renderGallery' ), 10 );
If you need to remove the title and the featured image as well, add the following code under Appearance ->Customize ->Additional CSS:
.single-mphb_room_type .post-thumbnail.mphb-single-room-type-post-thumbnail { display: none; } .single-mphb_room_type .mphb-room-type-title.entry-title { display: none; }
Regards,
AndreMarch 27, 2021 at 2:33 pm #1096153Carla OrriolsParticipantHi Andre, i already have this on my funtions.php:
//Featured gallery:
remove_action( ‘mphb_render_single_room_type_metas’, array( ‘\MPHB\Views\SingleRoomTypeView’,
‘renderGallery’ ), 10 );//Attributes (Details):
remove_action( ‘mphb_render_single_room_type_metas’, array( ‘\MPHB\Views\SingleRoomTypeView’,
‘renderAttributes’ ), 20 );//Default Price:
remove_action( ‘mphb_render_single_room_type_metas’, array( ‘\MPHB\Views\SingleRoomTypeView’,
‘renderDefaultOrForDatesPrice’ ), 30 );//Availability Calendar:
remove_action( ‘mphb_render_single_room_type_metas’, array( ‘\MPHB\Views\SingleRoomTypeView’,
‘renderCalendar’ ), 40 );//Reservation Form:
remove_action( ‘mphb_render_single_room_type_metas’, array( ‘\MPHB\Views\SingleRoomTypeView’,
‘renderReservationForm’ ), 50 );And the accommodation page shows like this: https://hostallesfonts.com/accommodation/habitacio-doble/ all you see at the end (after the first availavility calendar) is duplicate has appear after enable the Developer Mode under Accommodation ->Settings. what is wrong?? thank you
March 31, 2021 at 1:12 am #1098266Andre FloresModeratorHello Carla,
Kindly submit a request to our Help Desk providing temporary access to WordPress dashboard, so we take a closer look a the issue.
Regards,
Andre - AuthorPosts
- You must be logged in to reply to this topic.