How to customize the accommodation type page layout

Free and Premium WordPress Plugins & Themes Forums WordPress Themes Booklium How to customize the accommodation type page layout

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1709170
    Brian Xiang
    Participant

    Hi,
    Is there a way I can customize the accommodation type page layout? such as I would like to add one more section there.

    the page url I am referring to is like: ../accommodation/acc_type_1/, so you know which page I am talking about

    #1709172
    Brian Xiang
    Participant

    I am using Booklium theme

    #1712133
    J. Davis
    Keymaster

    Hi Brian,
    You can read this post to learn how to create a custom template for accommodation types https://motopress.com/blog/hotel-booking-styles-addon-single-accommodations/
    If you like the default layout but want to add a custom section you can use functions.

    add_action( 'mphb_render_single_room_type_metas', booklium_render_custom_section', 60);
    
    function booklium_render_custom_section(){
    echo 'test';
    }

    The code can be added to the functions.php file of a child theme or to a third-party plugin like Code Snippets.

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