plugin-icon

WP Geoloc

Search for posts around a location with a specific distance.
تقييمات
5
آخر تحديث
January 29, 2016
النسخة
1.0.2
التنصيبات النشطة
10
WP Geoloc

This plugin adds geolocation functionnalities to your wordpress, it allows you to find posts around you or a location with a specific distance radius. You can select a specific location with the widget or you can make a request with URL by providing latitude, longitude and distance as GET parameters. The widget and the shortocode consists of a Google Autocomplete and a distance range slider.

Widget :

Go in widget area, then place the widget in a zone. Have fun !

Shortcode :

Simply add this code where you want to place the search box : [wpgeoloc]

Play with URL:

For example : on an archive page, you are looking restaurants located in a 10 miles radius from this latitude [50.8385607] and this longitude [4.37526040] :

  • http://www.example.com/category/restaurant?latitude=50.8385607&longitude=4.37526040&distance=10

You can do it on the search page with the keyword “super” :

  • http://www.example.com/?s=super&latitude=50.8385607&longitude=4.37526040&distance=10

Requirement :

If you want to use the widget and the Google place autocomplete, then you need a Google Places API KEY. How to get a Google Places API key : * https://developers.google.com/places/web-service/get-api-key

Contributions

  • github : https://github.com/NicolasBlois/wp-geoloc

Special Features

  • URL : search with latitude, longitude, distance provided as GET parameters in URL.
  • Widget : the widget consists of a Google Autocomplete and a distance range slider.
  • Shortcode : the shortcode generates a Google Autocomplete and a distance range slider. Usage : [wpgeoloc]

الترجمات

  • English – default, always included
  • الفرنسية
مجانيعلى خطة Creator
إذا قمت بالتثبيت، فإنك توافق على شروط خدمة ووردبريس.كوم وشروط إضافات الأطراف الثالثة.
التنصيبات النشطة
10
تم اختباره حتى
4.4.33
تتوافر هذه الإضافة للتنزيل لتُستخدم في عملية التثبيت المستضافة ذاتيًا على ووردبريس لديك.