# propertyhive/2.4.0/includes/avada-widgets/property-meta-preview.php

Property Hive, version 2.4.0. 57 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/2.4.0/code/includes/avada-widgets/property-meta-preview.php
- Raw: https://pluginprobe.com/plugins/propertyhive/2.4.0/raw/includes/avada-widgets/property-meta-preview.php
- Modified: 2026-09-16T09:29:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/propertyhive/2.4.0/code/includes/avada-widgets/property-meta-preview.php#L10-L20`.

```php
<?php

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

/**
 * Underscore.js template.
 *
 * @package fusion-builder
 */

?>
<script type="text/template" id="fusion-builder-block-module-property-meta-preview-template">

	<#
		var text_color        = params.text_color,
			text_transform    = '' !== params.text_transform ? params.text_transform : '',
			styleTag          = '';

		if ( 'none' !== text_transform ) {
			styleTag += 'text-transform: ' + text_transform + ';';
		}

		if ( text_color && ( -1 !== text_color.indexOf( 'var(--' ) ) ) {
			text_color = getComputedStyle( document.documentElement ).getPropertyValue( text_color.replace( 'var(', '' ).replace( ')', '' ) );
		}

		if ( text_color && ( -1 !== text_color.replace( /\s/g, '' ).indexOf( 'rgba(255,255,255' ) || '#ffffff' === text_color ) ) {
			text_color = '#dddddd';
		}

		if ( params.content_align && '' !== params.content_align ) {
			styleTag += 'text-align: ' + params.content_align + ';';
		}

		if ( params.sep_color && '' !== params.sep_color ) {
			styleTag += 'border-color: ' + params.sep_color + ';';
		}

		if ( text_color ) {
			styleTag += 'color: ' + text_color + ';';
		}
	#>

	<div class="fusion-module-property-meta-preview">
		<ul style="{{{ styleTag }}}">
			<li><span>Reference:</span> 001-ABC</li>
			<li><span>Availability:</span> For Sale</li>
			<li><span>Property Type:</span> Detached House</li>
			<li><span>Bedrooms:</span> 3</li>
			<li><span>Bathrooms:</span> 1</li>
		</ul>
	</div>

</script>

```
