Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking How to edit accommodation type pages?
- This topic has 5 replies, 2 voices, and was last updated 3 years, 5 months ago by Andre Flores.
- AuthorPosts
- May 22, 2021 at 12:58 am #1125748Stephen ZoutenbierParticipant
Hi,
Is there anyone who can help me with the following problem. I want to remove the default blocks at the bottom of the single accomodation page. Insert these later with elementor.
I have already looked at this page extensively but cannot find a solution.
https://support.motopress.com/hc/en-us/articles/360013539291-How-to-edit-accommodation-type-pages-
What am I doing wrong?
I have placed the following code in the functions.php of my child theme. What else do I need to do?
remove_action( 'mphb_render_single_room_type_metas', array( '\MPHB\Views\SingleRoomTypeView', 'renderCalendar' ), 40 );
May 24, 2021 at 11:59 pm #1127289Andre FloresModeratorHello Stephen,
The code you are using seems correct and it should remove the availability calendar from single accommodation type pages. If you need to remove other meta blocks as well, you will need to add similar code for them as well.
If there is still no luck, submit a request to our Help Desk providing your website URL, so I take a closer look at the issue.Regards,
AndreMay 25, 2021 at 6:30 am #1127569Stephen ZoutenbierParticipantThis reply has been marked as private.May 25, 2021 at 11:16 pm #1128070Andre FloresModeratorThis reply has been marked as private.May 27, 2021 at 1:26 am #1128791Stephen ZoutenbierParticipantThis reply has been marked as private.June 2, 2021 at 12:22 am #1133543Andre FloresModeratorThis reply has been marked as private. - AuthorPosts
- You must be logged in to reply to this topic.