HEX
Server: Apache
System: Linux pdx1-shared-a2-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: dh_hwg2wc (6369923)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/dh_hwg2wc/fnaluxury.com/wp-content/themes/houzez/property-details/address.php
<?php
global $post;
/*$google_map_address = get_post_meta($post->ID, 'fave_property_location', true);
$google_map_lat = get_post_meta($post->ID, 'houzez_geolocation_lat', true);
$google_map_lng = get_post_meta($post->ID, 'houzez_geolocation_long', true);
$google_map_address_url     =   "https://maps.google.com/?q=".$google_map_lat.','.$google_map_lng;*/
$google_map_address = houzez_get_listing_data('property_map_address');
$google_map_address_url = "http://maps.google.com/?q=".$google_map_address;
?>
<div class="property-address-wrap property-section-wrap" id="property-address-wrap">
	<div class="block-wrap">
		<div class="block-title-wrap d-flex justify-content-between align-items-center">
			<h2><?php echo houzez_option('sps_address', 'Address'); ?></h2>

			<?php if( !empty($google_map_address) ) { ?>
			<a class="btn btn-primary btn-slim" href="<?php echo esc_url($google_map_address_url); ?>" target="_blank"><i class="houzez-icon icon-maps mr-1"></i> <?php echo houzez_option('spl_ogm', 'Open on Google Maps' ); ?></a>
			<?php } ?>

		</div><!-- block-title-wrap -->
		<div class="block-content-wrap">
			<ul class="<?php echo houzez_option('prop_address_cols', 'list-2-cols'); ?> list-unstyled">
				<?php get_template_part('property-details/partials/address-data'); ?>
			</ul>	
		</div><!-- block-content-wrap -->

		<?php if(houzez_map_in_section() && houzez_get_listing_data('property_map')) { ?>
		<div id="houzez-single-listing-map" class="block-map-wrap">
		</div><!-- block-map-wrap -->
		<?php } ?>

	</div><!-- block-wrap -->
</div><!-- property-address-wrap -->