Opal-Estate-Pro/templates/single-opalestate_property.php

34 lines
1001 B
PHP
Raw Permalink Normal View History

2019-09-10 06:27:33 +02:00
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
get_header(); ?>
<section id="main-container" class="site-main" role="main">
<div id="primary" class="content content-area">
<div class="single-opalestate-container">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
$layout = opalestate_single_the_property_layout();
do_action( 'opalestate_single_property_layout', $layout, 9 );
?>
<?php echo opalestate_load_template_path( 'content-single-property', [], $layout ); ?>
<div class="opalestate-single-bottom">
<div class="container">
<?php do_action( 'opalestate_single_property_after_render' ); ?>
</div>
</div>
<?php endwhile; ?>
<?php else : ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
</div>
</div><!-- .site-main -->
</section><!-- .content-area -->
<?php get_footer(); ?>