Skip to content

Instantly share code, notes, and snippets.

@rilwis

rilwis/single-room.php

Forked from kutoi94/single-room.php
Last active Jan 31, 2020
Embed
What would you like to do?
How to Build a Hotel Booking Website Using Meta Box (P3) - Template
<?php get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main">
<?php
while ( have_posts() ) : the_post();
get_template_part( 'template-parts/content', 'single' );
the_post_navigation();
echo do_shortcode("[mb_frontend_form id='booking-fields' post_fields='title,content']");
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
endwhile;
?>
</main>
</div>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.