PluginProbe
Property Hive / 2.2.3
Property Hive v2.2.3
2.3.1 2.3.0 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 1.4.46 1.4.47 1.4.48 1.4.49 1.4.5 1.4.50 1.4.51 1.4.52 1.4.53 1.4.54 1.4.55 1.4.56 1.4.57 1.4.58 1.4.59 1.4.6 1.4.60 1.4.61 All 261 releases
propertyhive / templates / single-property / meta.php

meta.php in Property Hive 2.2.3, at templates/single-property/meta.php

35 lines 795 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Single Property Meta
4 *
5 * @author PropertyHive
6 * @package PropertyHive/Templates
7 * @version 1.0.0
8 */
9
10 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
12 global $post, $property;
13 ?>
14 <div class="property_meta">
15
16 <?php do_action( 'propertyhive_property_meta_start' ); ?>
17
18 <ul>
19
20 <?php do_action( 'propertyhive_property_meta_list_start' ); ?>
21
22 <?php
23 foreach ( $meta as $key => $value )
24 {
25 echo '<li class="' . esc_attr( $key ) . '"><span>' . esc_html($value['label']) . ':</span> ' . esc_html($value['value']) . '</li>';
26 }
27 ?>
28
29 <?php do_action( 'propertyhive_property_meta_list_end' ); ?>
30
31 </ul>
32
33 <?php do_action( 'propertyhive_property_meta_end' ); ?>
34
35 </div>