Current location plugin [closed]

See which of the following works best for you: http://wordpress.org/extend/plugins/wp-google-maps/ http://wordpress.org/extend/plugins/geo-location-comments/ http://wordpress.org/extend/plugins/google-latitude-history/

How to extract specific image meta for all images?

Get all Images: $all_images = get_posts( array( ‘post_type’ => ‘attachment’ ,’numberposts’ => -1 ) ); foreach ( $all_images as $img ) echo $img; Some notes: You can use extract to make your code shorter: extract( $image[‘image_meta’], EXTR_SKIP ); echo $latitude; Use Yoda Conditions. When writing php on one line, you can also use shorthand php: … Read more

Geographical proximity query using post_meta

Oh dear, that was extremely obvious – there was a missing closing bracket! Here is the working query. SELECT ID, ( 6371 * acos ( cos ( radians( 35.665833 ) ) * cos( radians( latitude.meta_value ) ) * cos( radians( longitude.meta_value ) – radians( 139.731111 ) ) + sin ( radians(35.665833 ) ) * sin( … Read more

How to build a map with markers from single posts?

Since your blog runs on wordpress.com, your options are limited. In order to render the map, you need the data in some form that the map can process it. Either addresses or geocodes. In order to generate the map dynamically without manual interference, these data need to be saved with the post, and somehow retrieved. … Read more