Jump to content

ip based content


perotin
 Share

Recommended Posts

Hi,I am building a classifieds WordPress website and I would like to know does there exist any plugin or method that allow posts to be shown based on the country/region/city of the visitor (ip based listing)? There should be an option to add the location of the post somehow in the admin panel so that the plugin can use the information and show the nearest posts.

 

I ve been shown these two links but i dont know how to do it: http://html5demos.com/geo, http://www.w3schools.com/html/html5_geolocation.asp

Thanks

Edited by perotin
Link to comment
Share on other sites

Hi,

 

I literally don't know what piece of code goes where and how should it be structured. I want WordPress to show the nearest posts to the visitor's location which means I have to geolocate the posts themselves first somehow.

 

I have tried the plugins, but it works on a country base. I'd like the posts to be shown on how near they are in a country.

 

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...