Is there a way to set up a wordpress site so that the content is changed based on a location?
-
I have a site I am building that has information that shifts based on weather conditions and location. Is there a way to have information sort based on a users geographic location? I am trying to figure out the best way to do this.
-
Ron,
There are WordPress plugins that allow you to serve content based on geolocation. For example, the "Custom Content by Location" plugin comes to mind http://wordpress.org/plugins/custom-content-by-country/
Alternatively, outside of WordPress, you can use PHP code to determine the user's location and then serve them up separate content. There's a sample of that code here: http://www.adviceinteractivegroup.com/how-to-display-unique-content-based-on-geolocation/