Title: IHS Geo Location
Author: Imran Sayed
Published: <strong>14 Tháng 3, 2018</strong>
Last modified: 25 Tháng 12, 2020

---

Tìm kiếm plugin

![](https://ps.w.org/ihs-geo-location/assets/banner-772x250.png?rev=1840222)

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/ihs-geo-location/assets/icon-256x256.png?rev=1840222)

# IHS Geo Location

 Bởi [Imran Sayed](https://profiles.wordpress.org/gsayed786/)

[Tải về](https://downloads.wordpress.org/plugin/ihs-geo-location.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/ihs-geo-location/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/ihs-geo-location/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/ihs-geo-location/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/ihs-geo-location/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/ihs-geo-location/)

## Mô tả

This plugin detects your location and makes certain classes available to you which
you can apply to the div elements or use shortcodes in your theme to display the
user’s current locality, city, state, country and address.
 Use : 1- Class name ‘
ihs-locality’ for locality 2- Class name ‘ihs-city’ for city 3- Class name ‘ihs-
state’ for state 4- Class name ‘ihs-country’ for country 5- Class name ‘ihs-address’
for address

You can also add the below shortcodes in your posts or pages content from WordPress
Dashboard for locality, city, state, country and address respectively:
 1- [ihs_geo_locality]
for locality 2- [ihs_geo_city] for city 3- [ihs_geo_state] for state 4- [ihs_geo_country]
for country 5- [ihs_geo_address] for address

### Demo Videos

Please check the demo videos

[2018-03-11] How to use IHS Geo Location Plugin?

[2018-03-11] Detailed explanation of how the plugin works ( for Developers )

## Ảnh màn hình

[⌊You can find and display the Locality, City, State, Country and the complete address.⌉⌊
You can find and display the Locality, City, State, Country and the complete address
.⌉[

You can find and display the Locality, City, State, Country and the complete address.

## Cài đặt

This section describes how to install the plugin and get it working.

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Add the following classes to the div elements in your theme to display the user’s
    current locality, city, state, country and address respectively. a- Class name ‘
    ihs-locality’ for locality b- Class name ‘ihs-city’ for city c- Class name ‘ihs-
    state’ for state d- Class name ‘ihs-country’ for country e- Class name ‘ihs-address’
    for address You can also add the below shortcodes in your posts or pages content
    from WordPress Dashboard for locality, city, state, country and address respectively:
    a- [ihs_geo_locality] for locality b- [ihs_geo_city] for city c- [ihs_geo_state]
    for state d- [ihs_geo_country] for country e- [ihs_geo_address] for address
 4. You can get locationObjResult obj available inside request.done() in main.js which
    you can use to access the location data.

## Hỏi đáp

### I am not getting any values for locality/city/state/country/address after applying the classes.

Step 1. Check if your Plugin is activated.
 Step 2. Deactivate all plugins and reactivate
ihs geo location. Step 3. Refresh the page and wait for a few seconds . This plugin
uses ajax request to get the location data. It make take some time for ajax request
to complete. Step 4. You are trying to access the plugin on a non-secure site ( 
http ). This plugin only works for secure sites ( https ). Step 5. Open the network
tab and look for action: geo_ajax_hook. and troubleshoot. Step 6. Condition is applied
inside custom-functions.php to include the main.js file only on front page.Change
the condition.

### I am having issues with the other content on my site.

Step 1. Check if your Plugin is activated.
 Step 2. Deactivate all plugins and reactivate
ihs geo location. Step 3. Recheck the classname or shortcode you are using.

## Đánh giá

![](https://secure.gravatar.com/avatar/4eb36039142508f2157d21cc3ea062458606785e9e2d4d1d919228c3afdfee83?
s=60&d=retro&r=g)

### 󠀁[Loved it](https://wordpress.org/support/topic/loved-it-78/)󠁿

 [Mahvash Fatima](https://profiles.wordpress.org/mahvash-fatima/) 10 Tháng 4, 2018

Great going!

![](https://secure.gravatar.com/avatar/a42995339b57d955de8e227974cf43f39cea5fa6b23923aa6f28c897a2258d4d?
s=60&d=retro&r=g)

### 󠀁[What a excellent work](https://wordpress.org/support/topic/what-a-excellent-work/)󠁿

 [Aliya Faraz Sayyed](https://profiles.wordpress.org/farazsayyed/) 17 Tháng 3, 2018

Amazing must try it.

![](https://secure.gravatar.com/avatar/d51d5e919ac42423b07f114181310c004b2098fb841dc0d93e14f135806545f7?
s=60&d=retro&r=g)

### 󠀁[Light weight but with awesome functionality](https://wordpress.org/support/topic/light-weight-but-with-awesome-functionality/)󠁿

 [Smit Patadiya](https://profiles.wordpress.org/smitpatadiya/) 14 Tháng 3, 2018

Very lightweight plugin.

 [ Đọc tất cả 3 đánh giá ](https://wordpress.org/support/plugin/ihs-geo-location/reviews/)

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

“IHS Geo Location” 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

 *   [ Imran Sayed ](https://profiles.wordpress.org/gsayed786/)

[Dịch “IHS Geo Location” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/ihs-geo-location)

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

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

## Meta

 *  Phiên bản **1.0.3**
 *  Cập nhật lần cuối **6 năm trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 4.6 hoặc cao hơn **
 *  Đã kiểm tra lên đến **5.6.22**
 *  Phiên bản PHP ** 5.2.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/ihs-geo-location/)
 * Thẻ
 * [address](https://vi.wordpress.org/plugins/tags/address/)[city](https://vi.wordpress.org/plugins/tags/city/)
   [geo](https://vi.wordpress.org/plugins/tags/geo/)[geo location](https://vi.wordpress.org/plugins/tags/geo-location/)
   [geolocation](https://vi.wordpress.org/plugins/tags/geolocation/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/ihs-geo-location/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/ihs-geo-location/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/ihs-geo-location/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/ihs-geo-location/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/ihs-geo-location/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/ihs-geo-location/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ihs-geo-location/reviews/#new-post)

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

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

 *   [ Imran Sayed ](https://profiles.wordpress.org/gsayed786/)

## 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/ihs-geo-location/)