Title: Geolocated Content
Author: mdifelice
Published: <strong>12 Tháng 9, 2018</strong>
Last modified: 28 Tháng 10, 2019

---

Tìm kiếm plugin

![](https://ps.w.org/geolocated-content/assets/banner-772x250.png?rev=1940342)

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://ps.w.org/geolocated-content/assets/icon-256x256.png?rev=1940342)

# Geolocated Content

 Bởi [mdifelice](https://profiles.wordpress.org/mdifelice/)

[Tải về](https://downloads.wordpress.org/plugin/geolocated-content.0.2.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/geolocated-content/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/geolocated-content/#reviews)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/geolocated-content/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/geolocated-content/)

## Mô tả

Allows to deliver different content to visitors from different locations.

## Hỏi đáp

  What does this plugin do?

This plugin basically allows you to have different versions of your site, each
 
one with specific content according to the visitor location.

  How this plugin changes my site?

If your site is _mysite.com_, and you have created the locations _Japan_ and
 _Italy_,
when the visitor goes to _mysite.com/japan_ will only see posts which belong to 
the Japan location, and when they go to _mysite.com/italy_ they will see posts which
belong to the Italy location.

If they go to _mysite.com_ they will only see posts which are not assigned
 to a
particular location, unless you define a default location. In that case, they will
see posts which belong to such location. Note that assigning a post to the default
location will make it appear in all locations.

  How do I assign posts to each location?

Basically you create location terms, which are like any other WordPress
 taxonomy(
categories or tags), and then, when creating a post you assign that location to 
that post.

  How do I create new locations?

The location manager submenu is located inside the _Posts Menu_.

  What is the *Location Slug* setting for?

Each market has its own _home_ page, which is something like
 _mysite.com/such-location_.
But, in case you have defined a default location, in that page you will see posts
from the specified location mixed with posts from the default location. In case 
you want to see only a list of posts from the specified location, there is another
page which you may see by going to _mysite.com/location-slug/such-location_. That
string, _location-slug_ can be changed by modifying the setting _Location Slug_.

  How does the visitor redirection works?

If you enable the visitor redirection (in the _Settings -> Geolocated Content_
 
section), the system will attempt to determine which location the visitor is nearer,
and it will redirect them there. In order this feature to work you must specify 
each location latitude and longitude coordinates (that is done when creating a new
or editing a new location).

This redirection only works if the visitor is not navigating any location
 (the 
visitor is browsing _mysite.com_, not _mysite.com/location_).

  How the system determines the visitor location?

It uses the WordPress public geo API. You can check it out here:
 [https://public-api.wordpress.com/geo/](https://public-api.wordpress.com/geo/).

  What is the tolerance radius?

The system will always try to redirect the visitor to its nearest location
 (only
if the visitor redirection is enabled). If you specify a tolerance radius, it will
only redirect the visitor to its nearest location if they are in a distance no longer
that such radius of kilometers from the location.

  What does the geolocated settings do?

If you enable this option, it allows to specify a different setting value for
 a
specific location. For example, if some plugin allows you to determine the color
of your site background, you can change this color for different locations. Note
that this feature may not work in all plugins, it will work in plugins which use
the **WordPress Settings API** for registering their settings.

  Does this plugin makes my site slower?

It should not, or at least not significantly. If well the geolocation process
 requires
communicating with an external API, it only calls it once a day per visitor (the
location of the visitor is stored in a cookie). Also, this plugin is compatible 
with most full page cache plugins, like **Batcache** or **W3 Total Cache, and does
not any extra query in front-end requests.

  Why I cannot assign locations to pages?

Because pages are not supposed to be listed in a archive page. The idea of
 this
plugin is to filter lists or archives according to the visitor location, not to 
restrict content.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Geolocated Content” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ mdifelice ](https://profiles.wordpress.org/mdifelice/)

[Dịch “Geolocated Content” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/geolocated-content)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/geolocated-content/), check
out [SVN repository](https://plugins.svn.wordpress.org/geolocated-content/), hoặc
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/geolocated-content/)
qua [RSS](https://plugins.trac.wordpress.org/log/geolocated-content/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

= 0.2
 * Added compatibility with REST API and Gutenberg

#### 0.1.1

 * Added extended settings feature.
 * Added FAQ section.
 * Completed spanish translation.

## Meta

 *  Phiên bản **0.2**
 *  Cập nhật lần cuối **6 năm trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Đã kiểm tra lên đến **5.3.21**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/geolocated-content/)
 * Thẻ
 * [geolocation](https://vi.wordpress.org/plugins/tags/geolocation/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/geolocated-content/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/geolocated-content/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/geolocated-content/reviews/)

## Những người đóng góp

 *   [ mdifelice ](https://profiles.wordpress.org/mdifelice/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/geolocated-content/)