ios mapping feature
i would like to have this feature to be a choice for future directory releases? on ios the phone numbers do not show up as links to call or addresses do not link to mapping applicatioion. i have adjusted the single-listing.php and content-listing.php file for the location to include:
<li class="phone" itemprop="telephone"><strong><a href="tel:<?php echo esc_html( get_post_meta( get_the_ID(), 'phone', true ) ); ?>"><?php echo esc_html( get_post_meta( get_the_ID(), 'phone', true ) ); ?></a></strong></li>
<?php if ( $website ) : ?>
<li id="listing-website"><a href="<?php echo esc_url( 'http://' . $website ); ?>" title="<?php _e( 'Website', APP_TD ); ?>" target="_blank" itemprop="url"><?php echo esc_html( $website ); ?></a></li>
also i have edited the responisve.css for media max-with:600px not to show the google main map.
div#list-page-top {display:none}
- - - Updated - - -
<li class="address" itemprop="address"><a target="_blank" href="http://maps.apple.com/?daddr=<?php the_listing_address(); ?>"><?php the_listing_address(); ?></a></li>
<li class="phone" itemprop="telephone"><strong><a href="tel:<?php echo esc_html( get_post_meta( get_the_ID(), 'phone', true ) ); ?>"><?php echo esc_html( get_post_meta( get_the_ID(), 'phone', true ) ); ?></a></strong></li>
address and phone edits