Skip to content

Commit d052288

Browse files
authored
Revert "Replaced 'Location' with 'Address' on the All Listings map view. (#2266)"
This reverts commit b5b2a28.
1 parent b5b2a28 commit d052288

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/archive/fields/google-map.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
<div class='directorist-info-item map-listing-card-single__content__address'>
9696
<?php directorist_icon( 'fas fa-map-marker-alt' ); ?>
9797
<div class="map-listing-card-single__content__location">
98-
<?php echo esc_html( $ls_data['address'] ); ?>
98+
<?php echo $ls_data['listings']->get_the_location() ?>
9999
</div>
100100
</div>
101101
<?php

templates/archive/fields/openstreet-map.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<div class='directorist-info-item map-listing-card-single__content__address'>
9191
<?php directorist_icon( 'fas fa-map-marker-alt' ); ?>
9292
<div class="map-listing-card-single__content__location">
93-
<?php echo esc_html( $ls_data['address'] ); ?>
93+
<?php echo $ls_data['listings']->get_the_location() ?>
9494
</div>
9595
</div>
9696
<?php

0 commit comments

Comments
 (0)