Moving Booking Calendar & Form Above Description

Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Moving Booking Calendar & Form Above Description

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1080686
    Linda Dinelle
    Participant

    Hi,

    I tried using the remove_action / add_action in my functions.php file for the Calendar and Reservation form but couldn’t get them to display above the Description, even if I set the new sort order to 1. So i was wondering if this is even possible?

    #1082253
    Andre Flores
    Moderator

    Hello Linda,

    Overall it is possible. You will need to use remove_action to get rid of both calendar and booking from from single accommodation type pages, then create a copy of theme single.php file located in your theme directory and rename it to single-mphb_room_type.php. In the copied file find the the_content(); part and add the following code before it:

    echo do_shortcode('[mphb_availability_calendar]');
    echo do_shortcode('[mphb_availability]');

    This should work.

    Regards,
    Andre

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