User IP and Location

April 24, 2024

User IP and Location Plugin

User IP and Location is a plugin for WordPress that allows you to easily display your website visitor's real-time location, IP address, and other …

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.

Installation

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"] 

Screenshots

  1. Screenshot Page "Add New Post" with Shortcode

    Screenshot Page "Add New Post" with Shortcode

  2. Screenshot Page "Public Post" with User IP Address & other User's information.

    Screenshot Page "Public Post" with User IP Address & other User's information.

FAQ

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.

Changelog

3.2 – 24 April 2024

  • Optimized coding for better performance
  • Added compatibility for WordPress 6.5.2

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.

Details

  • Version: 3.2
  • Active installations: 3,000
  • Tested up to: 6.5.5
  • PHP Version: 7.0

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars