- This topic has 5 replies, 2 voices, and was last updated 7 months, 3 weeks ago by Andre Flores.
- May 22, 2021 at 12:58 am #1125748Stephen ZoutenbierParticipant
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.
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 FloresModerator
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.
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.
- You must be logged in to reply to this topic.