{"id":41544,"date":"2016-01-26T11:18:17","date_gmt":"2016-01-26T11:18:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-geoloc\/"},"modified":"2016-01-29T11:27:03","modified_gmt":"2016-01-29T11:27:03","slug":"wp-geoloc","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/wp-geoloc\/","author":14423390,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"trunk","tested":"4.4.34","requires":"3.8","requires_php":"","requires_plugins":"","header_name":"WP Geoloc","header_author":"Nicolas Blois","header_description":"","assets_banners_color":"d9e1ee","last_updated":"2016-01-29 11:27:03","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/wp-geoloc\/","header_author_uri":"https:\/\/wordpress.org\/plugins\/wp-geoloc\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1902,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1338704","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1338704","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1338704","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1338704","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2591,4124,6341,2215,793],"plugin_category":[43,49],"plugin_contributors":[96336],"plugin_business_model":[],"class_list":["post-41544","plugin","type-plugin","status-publish","hentry","plugin_tags-geo","plugin_tags-geolocation","plugin_tags-geotag","plugin_tags-location","plugin_tags-radius","plugin_category-customization","plugin_category-maps-and-location","plugin_contributors-bloutch","plugin_committers-bloutch"],"banners":{"banner":"https:\/\/ps.w.org\/wp-geoloc\/assets\/banner-772x250.png?rev=1338704","banner_2x":"https:\/\/ps.w.org\/wp-geoloc\/assets\/banner-1544x500.png?rev=1338704","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-geoloc\/assets\/icon-128x128.png?rev=1338704","icon_2x":"https:\/\/ps.w.org\/wp-geoloc\/assets\/icon-256x256.png?rev=1338704","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin adds geolocation functionnalities to your wordpress, it allows you to find posts around you or a location with a specific distance radius.\nYou 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.\nThe widget and the shortocode consists of a Google Autocomplete and a distance range slider.<\/p>\n\n<h4>Widget :<\/h4>\n\n<p>Go in widget area, then place the widget in a zone.\nHave fun !<\/p>\n\n<h4>Shortcode :<\/h4>\n\n<p>Simply add this code where you want to place the search box : [wpgeoloc]<\/p>\n\n<h4>Play with URL:<\/h4>\n\n<p>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] :<\/p>\n\n<ul>\n<li>http:\/\/www.example.com\/category\/restaurant?latitude=50.8385607&amp;longitude=4.37526040&amp;distance=10<\/li>\n<\/ul>\n\n<p>You can do it on the search page with the keyword \"super\" :<\/p>\n\n<ul>\n<li>http:\/\/www.example.com\/?s=super&amp;latitude=50.8385607&amp;longitude=4.37526040&amp;distance=10<\/li>\n<\/ul>\n\n<h4>Requirement :<\/h4>\n\n<p>If you want to use the widget and the Google place autocomplete, then you need a Google Places API KEY.\nHow to get a Google Places API key :\n* https:\/\/developers.google.com\/places\/web-service\/get-api-key<\/p>\n\n<h3>Contributions<\/h3>\n\n<ul>\n<li>github : https:\/\/github.com\/NicolasBlois\/wp-geoloc<\/li>\n<\/ul>\n\n<h4>Special Features<\/h4>\n\n<ul>\n<li>URL : search with latitude, longitude, distance provided as GET parameters in URL.<\/li>\n<li>Widget : the widget consists of a Google Autocomplete and a distance range slider.<\/li>\n<li>Shortcode : the shortcode generates a Google Autocomplete and a distance range slider. Usage : [wpgeoloc]<\/li>\n<\/ul>\n\n<h3>Translations<\/h3>\n\n<ul>\n<li>English - default, always included<\/li>\n<li>French<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Installation instructions :<\/h4>\n\n<ul>\n<li>Upload to plugins dir<\/li>\n<li>Activate plugin<\/li>\n<\/ul>\n\n<h4>Configuration instructions :<\/h4>\n\n<ul>\n<li>If you want to use the widget and the Google place autocomplete, then you need a Google Places API KEY. Get your Google Places API key here : https:\/\/developers.google.com\/places\/web-service\/get-api-key<\/li>\n<li>Add a location for each post you wish to geotag. A box is provided for this purpose in post edit mode.<\/li>\n<li>Enjoy the geolocated requests.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>How to get a Google Places API KEY?<\/dt>\n<dd><ul>\n<li>Simply follow instructions here : https:\/\/developers.google.com\/places\/web-service\/get-api-key<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>standardization of code<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>New : widget to search geolocated content.<\/li>\n<li>New : shortcode to include the geolocated search form in any post.<\/li>\n<li>New : translations in French<\/li>\n<li>Fix : Prevent XSS and other attacks<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Search for posts around a location with a specific distance.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/41544","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=41544"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bloutch"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=41544"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=41544"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=41544"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=41544"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=41544"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=41544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}