Changeset 1587028
- Timestamp:
- 02/02/2017 07:11:05 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scale-lite-tools/trunk/inc/sl-google-maps/render-cpt.php
r1586685 r1587028 50 50 if ($query->have_posts()) : while ($query->have_posts()) : $query->the_post(); 51 51 // post meta 52 $location_address = get_post_meta(get_the_ID(),'gmap_options_location-address',true); 53 $title = get_post_meta(get_the_ID(),'gmap_options_title',true); 54 $description = get_post_meta(get_the_ID(),'gmap_options_description',true); 55 $icon = get_post_meta(get_the_ID(),'gmap_options_icon',true); 52 $marker_lat = get_post_meta(get_the_ID(),'slt_gmarker_slt_meta-latitude',true); 53 $marker_lng = get_post_meta(get_the_ID(),'slt_gmarker_slt_meta-longitude',true); 54 $title = get_post_meta(get_the_ID(),'slt_gmarker_slt_meta-title',true); 55 $description = get_post_meta(get_the_ID(),'slt_gmarker_slt_meta-description',true); 56 $icon = get_post_meta(get_the_ID(),'slt_gmarker_slt_meta-icon',true); 56 57 57 58 global $markersArray; 58 59 $markersArray[get_the_ID()] = array( 59 'location_address'=>$location_address, 60 'marker_lat'=>$marker_lat, 61 'marker_lng'=>$marker_lng, 60 62 'title'=>$title, 61 63 'description'=>$description,
Note: See TracChangeset
for help on using the changeset viewer.