Move calendar position

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1393474
    Khaled Jafar

    Is there a way to move the availability calendar position so that it is above where the listing images are?

    J. Davis

    Hi Khaled,

    First, you may try to use the following addon to build a custom layout for the accommodation type page
    Or you may remove the action

    remove_action( 'mphb_render_single_room_type_metas', array( '\MPHB\Views\SingleRoomTypeView','renderCalendar' ), 40 );

    and add it with a lower priority value e.g.

    add_action( 'mphb_render_single_room_type_metas', array( '\MPHB\Views\SingleRoomTypeView','renderCalendar' ), 20 );

    The codes can be added to the functions.php file of the theme or by using the Code Snippets plugin.
    Feel free to ask any additional questions.

    best regards,
    John Davis

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.