| 1: | <?php |
| 2: | |
| 3: | |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | |
| 9: | |
| 10: | |
| 11: | if ( ! defined( 'ABSPATH' ) ) { |
| 12: | exit; |
| 13: | } |
| 14: | |
| 15: | |
| 16: | |
| 17: | |
| 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() ) : |
| 25: | the_post(); |
| 26: | do_action( 'epl_property_single' ); |
| 27: | comments_template(); |
| 28: | endwhile; |
| 29: | ?> |
| 30: | </div> |
| 31: | </div> |
| 32: | <?php |
| 33: | else : |
| 34: | do_action( 'builder_template_show_not_found' ); |
| 35: | endif; |
| 36: | } |
| 37: | add_action( 'builder_layout_engine_render_content', 'epl_single_render_content' ); |
| 38: | do_action( 'builder_layout_engine_render', basename( __FILE__ ) ); |
| 39: | |