Use WPGeocode to customize the content of your blog based on the location of your readers.
WP Geocode enables WordPress publishers to customize content based on the Geolocation information of the reader.
WP Geocode implements shortcodes that let publishers incorporate reader's geolocation data into posts, and post titles. Additionally, publishers can use shortcodes in posts which let them tailor post content to the reader based on proximity or location. This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/.
Use WP Geocode to customize the content of your blog based on the geographic location of your readers.
Available Filter Shortcodes
This filter content in the article body, title based on the reader's geolocation data:
Conditional Shortcodes - Only available in the body of the post:
[wpgc_is_nearby] Hi Neighbor! [/wpgc_is_nearby] - Will display "Hi Neighbor!" to readers within a configurable distance from your home base. [wpgc_is_within miles=10] Come on over! [/wpgc_is_within] - Will display "Come on over!" in the post body if the user is viewing the post from within 10 miles. [wpgc_is_ip ip=126.96.36.199] I used to own this IP Address [/wpgc_is_ip] - Will display the message only if the user has that specific IP Address. [wpgc_is_city city="Yardley"] Hello Fellow Yardlian [/wpgc_is_city] - Will display the message only if the user has that specific IP Address. [wpgc_is_not_cities cities="Yardley,Morrisville"] Glad you don't live in Yardley or Morrisville? [/wpgc_is_not_cities] - Will display only when visitor is not viewing the page from Yardley or Morrisville
Configurable options allow you to set a default phrase for each available shortcode in the event that the user was unable to be geo-located.