1: <?php
2: /**
3: * The Template for displaying all Easy Property Listings single posts with the iThemes Builder Theme Framework
4: *
5: * @package EPL
6: * @subpackage Templates/Themes/iThemesBuilder
7: * @since 1.0
8: */
9:
10: // Exit if accessed directly.
11: if ( ! defined( 'ABSPATH' ) ) {
12: exit;
13: }
14: /**
15: * [epl_single_render_content description]
16: *
17: * @since 1.0
18: */
19: function epl_single_render_content() {
20: if ( have_posts() ) : ?>
21: <div class="loop">
22: <div class="loop-content">
23: <?php
24: while ( have_posts() ) : // The Loop.
25: the_post();
26: do_action( 'epl_property_single' );
27: comments_template(); // include comments template.
28: endwhile; // end of one post.
29: ?>
30: </div>
31: </div>
32: <?php
33: else : // do not delete.
34: do_action( 'builder_template_show_not_found' );
35: endif; // do not delete.
36: }
37: add_action( 'builder_layout_engine_render_content', 'epl_single_render_content' );
38: do_action( 'builder_layout_engine_render', basename( __FILE__ ) );
39: