-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathlisting_template.txt
42 lines (42 loc) · 2.29 KB
/
listing_template.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[vc_row full_width="stretch_row_content_no_spaces"][vc_column][vc_empty_space height="100px"][/vc_column][/vc_row]
[vc_row full_width="stretch_row_content_no_spaces" content_placement="middle" bg_type="bg_color" el_class="rl-padding rr-padding tpt-listing-container" bg_color_value="#0477a6"]
[vc_column][vc_column_text]<span class="tpt-listing-contact">%PHONEMSG%[/vc_column_text][/vc_column][/vc_row]
[vc_row full_width="stretch_row_content_no_spaces" el_class="rl-padding rr-padding"]
[vc_column width="2/3"]
[vc_single_image source="external_link" external_img_size="full" alignment="center" custom_src="%WPBLOG%/wp-content/uploads/treb/%MLSNUMBER%/%MLSNUMBER%_2.jpg"][/vc_column]
[vc_column width="1/3" el_class="tpt-listing-street"][vc_column_text]
<h3><span style="color: #0076a9;"> %STREETNUMBER% %STREETNAME% %APT_NUM%</span></h3>
<strong>Price:</strong> %LISTPRICE%
<strong>MLS#</strong> %MLSNUMBER%
<strong>Bathrooms:</strong> %BATHROOMS%
<strong>Bedrooms:</strong> %BEDROOMS%
<strong>Square Footage:</strong> %SQFOOTAGE%
%VIRTUALTOUR%
%WALKSCORECODE%
[/vc_column_text]
[/vc_column]
[/vc_row]
[vc_row full_width="stretch_row_content_no_spaces" el_class="rl-padding rr-padding tpt-listing-description-container"][vc_column][vc_empty_space]
[vc_column_text]%DESCRIPTION%[/vc_column_text]
[/vc_column][/vc_row][vc_row full_width="stretch_row_content_no_spaces" el_class="rr-padding rl-padding"][vc_column]
[vc_gallery type="image_grid" source="external_link" external_img_size="150x150" custom_srcs="#E-8_%BASE64IMAGES%"]
[/vc_column][/vc_row]
[vc_row full_width="stretch_row_content_no_spaces" el_class="rl-padding rr-padding"][vc_column]
[vc_empty_space height="25px"]
[vc_raw_html]JTNDZGl2JTIwY2xhc3MlM0QlMjJ0cHQtZ29vZ2xlbWFwJTIyJTIwaWQlM0QlMjJtYXAlMjIlM0VtYXAlM0MlMkZkaXYlM0U=[/vc_raw_html]
[/vc_column][/vc_row]
<script language="javascript" type="text/javascript">
function initMap() {
var theLatLng = {lat: %MAPLAT%, lng: %MAPLNG%};
var map = new google.maps.Map(document.getElementById('map'), {
center: theLatLng,
zoom: 15
});
var marker = new google.maps.Marker({
position: theLatLng,
map: map,
title: '%STREETNUMBER% %STREETNAME%'
});
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=%GOOGLEMAPAPI%&callback=initMap" async defer></script>