How to edit accommodation type pages?

  • This topic has 5 replies, 2 voices, and was last updated 2 weeks, 1 day ago by Andre Flores.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1125748
    Stephen Zoutenbier
    Participant

    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 );
    #1127289
    Andre Flores
    Moderator

    Hello 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,
    Andre

    #1127569
    Stephen Zoutenbier
    Participant
    This reply has been marked as private.
    #1128070
    Andre Flores
    Moderator
    This reply has been marked as private.
    #1128791
    Stephen Zoutenbier
    Participant
    This reply has been marked as private.
    #1133543
    Andre Flores
    Moderator
    This reply has been marked as private.
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.