User IP and Location

外掛說明

“User IP and Location” is a great plugin to use if you want to display visitor’s IP address, IP location, browser details, operating system, and tons of other publicly available information on your WordPress website.

This plugin is quick and easy to set up and the shortcodes can be used to easily display this information anywhere on your site. For example, you could add a shortcode to your sidebar or footer to display this information on every page of your site.

“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.

Here are some of the features of User IP and Location:

[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="browser"]
[userip_location type="os"]
[userip_location type="flag" height="auto" width="50px"]

For the flag shortcode, 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.

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="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.

使用者評論

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!
2021 年 2 月 18 日
I am guy who rarely writes reviews. of all the million plugin that is out there, the most simple and effective in implementation and without bug that works is this one. Keep up the work guys.
2020 年 3 月 26 日
Great plugin for getting users IP address and Other IP related pieces of stuff. Some minor changes needed, emailed the developer. All in all, does what it says
閱讀全部 7 則使用者評論

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

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.