- This topic has 2 replies, 3 voices, and was last updated 4 days, 7 hours ago by
eric Brabants.
Viewing 3 posts - 1 through 3 (of 3 total)
- AuthorPosts
- June 2, 2022 at 10:22 am #1312555
Omar Del Castillo
ParticipantWhen someone in the Room List page and click “Book”, the button send the user to website.com/accomodation/room/#booking-form-777. That page displays the gallery, “Details”, “Availability Calendars” and the “Reservation Form”. I want that this page only displays the Reservation Form.
June 6, 2022 at 10:55 pm #1314202J. Davis
KeymasterHi,
You may add the lines below to the functions.php file of the theme to remove the default meta blocks:
remove_action( 'mphb_render_single_room_type_metas', array( '\MPHB\Views\SingleRoomTypeView','renderGallery' ), 10 ); remove_action( 'mphb_render_single_room_type_metas', array( '\MPHB\Views\SingleRoomTypeView','renderAttributes' ), 20 ); remove_action( 'mphb_render_single_room_type_metas', array( '\MPHB\Views\SingleRoomTypeView','renderDefaultOrForDatesPrice' ), 30 ); remove_action( 'mphb_render_single_room_type_metas', array( '\MPHB\Views\SingleRoomTypeView','renderCalendar' ), 40 );It is recommended to install and activate the child theme and add this code to the functions.php file of this theme to keep the changes after theme update.
best regards,
J. DavisDecember 7, 2025 at 2:15 pm #1813761eric Brabants
ParticipantIn my case I would like to know how to remove the following meta blocks
– the “description” (the array just under the title),
– the “excerpt”thank’s
Eric
- AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.