-
-
Save rilwis/8b30ae28789ff8a8a30273299835c28c to your computer and use it in GitHub Desktop.
How to Build a Hotel Booking Website Using Meta Box (P3) - Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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