User IP and Location

外掛說明

If you’re looking to display publicly available information such as visitors’ IP address, IP location, browser details, operating system, and more on your WordPress website, “User IP and Location” is an excellent plugin to use.

Setting up the plugin is a breeze, and the provided shortcodes allow you to effortlessly display this information on any section of your site. You could, for instance, add a shortcode to your sidebar or footer to showcase this information on every page of your website.

“User IP and Location” use the IP-API website to fetch the user’s IP address and location information, so it is always up-to-date.

Some of the features of User IP and Location include:

[userip_location type="ip"]
[userip_location type="continent"]
[userip_location type="country"]
[userip_location type="countrycode"]
[userip_location type="region"]
[userip_location type="regionname"]
[userip_location type="city"]
[userip_location type="lat"]
[userip_location type="lon"]
[userip_location type="timezone"]
[userip_location type="currency"]
[userip_location type="isp"]
[userip_location type="mobile"]
[userip_location type="proxy"]
[userip_location type="hosting"]
[userip_location type="browser"]
[userip_location type="os"]
[userip_location type="flag" height="auto" width="50px"]

If you’re using the flag shortcode in User IP and Location plugin, note that the height and width parameters are optional. By default, the height is set to auto, and the width is set to 50px. However, you can modify the size of the flag by passing any or both of these parameters and setting them to your preferred values.

Features of User IP and Location

  • Simple and quick to setup.
  • Can be used to display the IP address, location, browser details, operating system, and more details of the website visitors.
  • Uses the IP-API website to fetch user’s IP address and location, so it is always up-to-date.
  • Easily detect the browser and operating system of your website visitors.
  • Shortcodes can be used to display this information anywhere on your site.
  • Supports flag and currency shortcodes.

If you want an easy way to display visitor IP address, location, browser, and operating system information on your WordPress website, then User IP and Location is a great plugin to use.

Credits

This plugin is created by HeySERP and TheWPX team.

To learn more about WordPress, you can visit our website TheGuideX for tutorials on topics like:

…and many more WordPress tutorials.

螢幕擷圖

  • Screenshot Page "Add New Post" with Shortcode
  • Screenshot Page "Public Post" with User IP Address & other User's information.

安裝方式

You can search “User IP and Location” on the WordPress Add New Plugin page , or download the archive.

  1. To install this plugin, Login to your WordPress admin account
  2. Go to Plugins Page, and click on “Add New Plugin” button.
  3. Once you’re on the Plugin page, click on the “Upload Plugin” button
  4. Now Select the Plugin and Click on “Install Now”
  5. Your plugin is successfully installed. Now click on “Activate” button to activate the plugin.

Shortcodes:

[userip_location type="ip"]
[userip_location type="continent"]
[userip_location type="country"]
[userip_location type="countrycode"]
[userip_location type="region"]
[userip_location type="regionname"]
[userip_location type="city"]
[userip_location type="lat"]
[userip_location type="lon"]
[userip_location type="timezone"]
[userip_location type="currency"]
[userip_location type="isp"]
[userip_location type="mobile"]
[userip_location type="proxy"]
[userip_location type="hosting"]
[userip_location type="browser"]
[userip_location type="os"]
[userip_location type="flag" height="auto" width="50px"]

常見問題集

Can I use User IP and Location to Show User IP?

Yes, you can use the [userip_location type="ip"] shortcode to show the IP address of visitor.

Can I use User IP and Location to Show User Location?

Yes, you can easily add the above shortcodes to show the user location informations like User Country, Region, CountryCode, City, Lat & Long and some other helpful information.

Can I use this Plugin to Show User Browser?

Yes, you can use the [userip_location type="browser"] shortcode to show the browser name and version of visitor.

Can I use this Plugin to Show User Operating System?

Yes, you can use the [userip_location type="os"] shortcode to show the operating system of visitor.

Does this Plugin Support Flag?

Yes, this plugin supports flag shortcodes. You can use the [userip_location type="flag" height="auto" width="50px"] shortcode to show the flag of visitor’s country. The height and width are optional and the default value for height is auto; and width, it is 50px. You can pass any or both of these values to alter the size of flag as per your choice.

Does this Plugin Support Currency?

Yes, this plugin supports currency shortcodes. You can use the [userip_location type="currency"] shortcode to show the currency of visitor’s country.

使用者評論

2023 年 10 月 16 日 2 則留言
The plugin was working fine until the most recent version of Wordpress updated. This plugin is currently not compatible with Wordpress. One device that I used showed that my location was 100 miles away in the north west direction, while another showed it was 100 miles south. I would like to keep using this plugin, but I need an update fast. I was pitching businesses yesterday with a website demo and the location was not correct.
2023 年 8 月 28 日
Does the job, without troubles ! - All other plugins were so complicated to do such a small task. I know it's not super turbo equiped with trackings, but it is simple and effective. 5 stars to that !
2022 年 9 月 21 日
This deserves much more use and reviews. 5 stars! I tried to code something similar myself and use other complicated plugins. Finally found THIS plugin and it was simple as... install plugin > use shortcode > get output I wanted on the page!
閱讀全部 9 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈User IP and Location〉的開發相關工作。

參與者

將〈User IP and Location〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.2.1 – 26 April 2023

  • Optimized the coding for better performance.
  • Fixed security issues!

2.2 – 26 February 2023

  • Optimized the coding for better performance.
  • Added support for mobile, proxy, and hosting information.

2.0 – 19 June 2022

  • Added Browser and Operating System detection.
  • More shortcakes are added.
  • Optimized the coding.

1.7 – 27th January 2022

  • Updated script to work with latest version

1.4 – 6th June 2021

  • Fix the issue where it show your server IP address instead of user’s IP.