Changeset 6458
- Timestamp:
- 01/29/2018 11:14:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/single-wordcamp.php
r4038 r6458 29 29 <?php if ( wcpt_get_wordcamp_url() ) : ?> 30 30 <a href="<?php wcpt_wordcamp_url(); ?>" class="wc-single-website"> 31 <?php $shot_url = add_query_arg( array( 'w' => 205, 'h' => 148 ), 'http ://s.wordpress.com/mshots/v1/' . urlencode( wcpt_get_wordcamp_url() ) ); ?>31 <?php $shot_url = add_query_arg( array( 'w' => 205, 'h' => 148 ), 'https://s0.wp.com/mshots/v1/' . urlencode( wcpt_get_wordcamp_url() ) ); ?> 32 32 <img src="<?php echo esc_url( $shot_url ); ?>" /> 33 33 Visit Website → … … 49 49 <?php 50 50 $address = urlencode( implode( " ", explode( "\n", wcpt_get_wordcamp_physical_address() ) ) ); 51 $map_url = 'http ://maps.googleapis.com/maps/api/staticmap?center=' . $address . '&zoom=14&size=130x70&maptype=roadmap&markers=color:blue%7Clabel:A%7C' . $address . '&sensor=false';52 $map_link = 'http ://maps.google.com/maps?q=' . $address;51 $map_url = 'https://maps.googleapis.com/maps/api/staticmap?center=' . $address . '&zoom=14&size=130x70&maptype=roadmap&markers=color:blue%7Clabel:A%7C' . $address . '&sensor=false'; 52 $map_link = 'https://maps.google.com/maps?q=' . $address; 53 53 $venue_link = wcpt_get_wordcamp_venue_url(); 54 54 ?>
Note: See TracChangeset
for help on using the changeset viewer.