{"id":91228,"date":"2018-09-12T21:04:50","date_gmt":"2018-09-12T21:04:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/geolocated-content\/"},"modified":"2019-10-28T22:16:36","modified_gmt":"2019-10-28T22:16:36","slug":"geolocated-content","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/geolocated-content\/","author":15514736,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2","stable_tag":"0.2","tested":"5.3.21","requires":"","requires_php":"","requires_plugins":"","header_name":"Geolocated Content","header_author":"Martin Di Felice","header_description":"Allows to deliver different content to visitors from different locations.","assets_banners_color":"2bb4b3","last_updated":"2019-10-28 22:16:36","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/mdifelice\/geolocated-content","header_author_uri":"https:\/\/github.com\/mdifelice","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1335,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["faq","changelog","description"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1940342","resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1940342","resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.1.1","0.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4124],"plugin_category":[49],"plugin_contributors":[161784],"plugin_business_model":[],"class_list":["post-91228","plugin","type-plugin","status-publish","hentry","plugin_tags-geolocation","plugin_category-maps-and-location","plugin_contributors-mdifelice","plugin_committers-mdifelice"],"banners":{"banner":"https:\/\/ps.w.org\/geolocated-content\/assets\/banner-772x250.png?rev=1940342","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/geolocated-content\/assets\/icon-256x256.png?rev=1940342","icon_2x":"https:\/\/ps.w.org\/geolocated-content\/assets\/icon-256x256.png?rev=1940342","generated":false},"screenshots":[],"raw_content":"<!--section=faq-->\n<dl>\n<dt>What does this plugin do?<\/dt>\n<dd><p>This plugin basically allows you to have different versions of your site, each\none with specific content according to the visitor location.<\/p><\/dd>\n<dt>How this plugin changes my site?<\/dt>\n<dd><p>If your site is <em>mysite.com<\/em>, and you have created the locations <em>Japan<\/em> and\n<em>Italy<\/em>, when the visitor goes to <em>mysite.com\/japan<\/em> will only see posts\nwhich belong to the Japan location, and when they go to <em>mysite.com\/italy<\/em>\nthey will see posts which belong to the Italy location.<\/p>\n\n<p>If they go to <em>mysite.com<\/em> they will only see posts which are not assigned\nto a particular location, unless you define a default location. In that case,\n   they will see posts which belong to such location. Note that assigning a\n   post to the default location will make it appear in all locations.<\/p><\/dd>\n<dt>How do I assign posts to each location?<\/dt>\n<dd><p>Basically you create location terms, which are like any other WordPress\ntaxonomy (categories or tags), and then, when creating a post you assign that\nlocation to that post.<\/p><\/dd>\n<dt>How do I create new locations?<\/dt>\n<dd><p>The location manager submenu is located inside the <em>Posts Menu<\/em>.<\/p><\/dd>\n<dt>What is the *Location Slug* setting for?<\/dt>\n<dd><p>Each market has its own <em>home<\/em> page, which is something like\n<em>mysite.com\/such-location<\/em>. But, in case you have defined a default location,\n    in that page you will see posts from the specified location mixed with\n    posts from the default location. In case you want to see only a list of\n    posts from the specified location, there is another page which you may see\n    by going to <em>mysite.com\/location-slug\/such-location<\/em>. That string,\n    <em>location-slug<\/em> can be changed by modifying the setting <em>Location Slug<\/em>.<\/p><\/dd>\n<dt>How does the visitor redirection works?<\/dt>\n<dd><p>If you enable the visitor redirection (in the <em>Settings -&gt; Geolocated Content<\/em>\n        section), the system will attempt to determine which location the\nvisitor is nearer, and it will redirect them there. In order this feature to\nwork you must specify each location latitude and longitude coordinates (that\n        is done when creating a new or editing a new location).<\/p>\n\n<p>This redirection only works if the visitor is not navigating any location\n(the visitor is browsing <em>mysite.com<\/em>, not <em>mysite.com\/location<\/em>).<\/p><\/dd>\n<dt>How the system determines the visitor location?<\/dt>\n<dd><p>It uses the WordPress public geo API. You can check it out here:\n<a href=\"https:\/\/public-api.wordpress.com\/geo\/\">https:\/\/public-api.wordpress.com\/geo\/<\/a>.<\/p><\/dd>\n<dt>What is the tolerance radius?<\/dt>\n<dd><p>The system will always try to redirect the visitor to its nearest location\n(only if the visitor redirection is enabled). If you specify a tolerance\nradius, it will only redirect the visitor to its nearest location if they are\nin a distance no longer that such radius of kilometers from the location.<\/p><\/dd>\n<dt>What does the geolocated settings do?<\/dt>\n<dd><p>If you enable this option, it allows to specify a different setting value for\na specific location. For example, if some plugin allows you to determine the\ncolor of your site background, you can change this color for different\nlocations. Note that this feature may not work in all plugins, it will work in\nplugins which use the <strong>WordPress Settings API<\/strong> for registering their\nsettings.<\/p><\/dd>\n<dt>Does this plugin makes my site slower?<\/dt>\n<dd><p>It should not, or at least not significantly. If well the geolocation process\nrequires communicating with an external API, it only calls it once a day per\nvisitor (the location of the visitor is stored in a cookie). Also, this plugin\nis compatible with most full page cache plugins, like <strong>Batcache<\/strong> or <strong>W3\nTotal Cache<\/strong>, and does not any extra query in front-end requests.<\/p><\/dd>\n<dt>Why I cannot assign locations to pages?<\/dt>\n<dd><p>Because pages are not supposed to be listed in a archive page. The idea of\nthis plugin is to filter lists or archives according to the visitor location,\n     not to restrict content.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>= 0.2\n* Added compatibility with REST API and Gutenberg<\/p>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Added extended settings feature.<\/li>\n<li>Added FAQ section.<\/li>\n<li>Completed spanish translation.<\/li>\n<\/ul>\n\n<!--section=description-->\n<p>Allows to deliver different content to visitors from different locations.<\/p>","raw_excerpt":"Allows to deliver different content to visitors from different locations.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/91228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=91228"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mdifelice"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=91228"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=91228"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=91228"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=91228"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=91228"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=91228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}