PluginProbe
WPCasa – Real Estate for WordPress / trunk
WPCasa – Real Estate for WordPress vtrunk
1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.1.1 trunk 1.2.0 1.2.1 1.2.10 1.2.10.1 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.2.9.1 1.2.9.2 1.3.0 All 31 releases
wpcasa / templates / listing-single-description.php

listing-single-description.php in WPCasa – Real Estate for WordPress trunk, at templates/listing-single-description.php

28 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined('ABSPATH')) {
2 exit;
3 } // Exit if accessed directly
4
5 /**
6 * Template: Single Listing Description
7 */
8 global $listing; ?>
9
10 <div class="wpsight-listing-section wpsight-listing-section-description">
11
12 <?php do_action( 'wpsight_listing_single_description_before', $listing->ID ); ?>
13
14 <?php if( wpsight_is_listing_not_available() ) : ?>
15 <div class="wpsight-alert wpsight-alert-small wpsight-alert-not-available">
16 <?php $not_available_text = apply_filters( 'wpsight_listing_text_not_available', __( 'This property is currently not available.', 'wpcasa' ) ); ?>
17 <?php echo wp_kses( $not_available_text, wpsight_allowed_html_tags() ); ?>
18 </div>
19 <?php endif; ?>
20
21 <div class="wpsight-listing-description" itemprop="description">
22 <?php $listing_content = apply_filters( 'wpsight_listing_description', wpsight_format_content( $listing->post_content ) ); ?>
23 <?php echo wp_kses( $listing_content, wpsight_allowed_html_tags() ); ?>
24 </div>
25
26 <?php do_action( 'wpsight_listing_single_description_after', $listing->ID ); ?>
27
28 </div><!-- .wpsight-listing-section -->