이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

IHS Geo Location

설명

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 )

스크린샷

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

설치

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.

FAQ

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.

후기

모든 3 평가 읽기

기여자 & 개발자

“IHS Geo Location”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “IHS Geo Location”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.