Linux 软件免费装
Banner图

My Geo Posts Free

开发者 mindstien
更新时间 2014年9月13日 16:39
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 4.0
版权: GPLv2 or later
版权网址: 版权信息

标签

geo maxmind user location geo location geoplugin ipinfodb geo tagging visitor location

下载

1.0 1.1 1.2

详情介绍:

My Geo Posts Free plugin uses IpInfoDb and/or geoPlugin's service to get geolocation data of visitor's ip address. It save location data in visitors browser cookies to save number of api calls. How to use My GEO Post Free Plugin ? Use following shortcodes almost anywhere in WordPress, ie. Title/Content of WordPress post/page/widget etc.. Within a title or within a content itself, just copy paste following shortcodes. You can also add default value when geo data is not available i.e. To directly display data using PHP code in template files itself, you can use following php code by replacing SHORTCODE with any of the above code. <?php echo do_shortcode('SHORTCODE'); ?> Hire plugin author for your Wordpress Development. Visit official website for this plugin at Mindstien Technologies.

安装:

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Use following shortcodes almost anywhere in WordPress, ie. Title/Content of WordPress post/page/widget etc.. Within a title or within a content itself, just copy paste following shortcodes.
  4. [mygeo_city] // to display City name
  5. [mygeo_country_code] // to display Country Code
  6. [mygeo_country_name] // to display Country Name
  7. [mygeo_region] // to display state / region name
  8. [mygeo_latitude] // to display latitude of the visitors location
  9. [mygeo_longitude] // to display longitude of the visitors location
  10. [mygeo_postal_code] // to display postal code if available
To directly display data using PHP code in template files itself, you can use following php code by replacing SHORTCODE with any of the above code. <?php echo do_shortcode('SHORTCODE'); ?>

常见问题:

How accurate the location data are ?

The accuracy of geo location data purely depends on the geoip service providers, i.e. IpInfoDb and GeoPlugin

更新日志:

1.2: Option of default value in shortcode is added. 1.1: Plugin updated to use geodata from ipinfodb and geoplugin services. 1.0: New plugin launched.