User IP and Location


You can use this “User IP and Location” plugin to simply display the visitor’s IP address and location information along with their ISP provider anywhere (in Page, Post, and Widgets) using the shortcodes.

The simple interface of the “User IP and Location” plugin gives you one place where you can detect visitor’s IP, country, region, city and more information, rather than dealing with dozens of different plugins.

Note: This plugin use the IP-API website to fetch user’s IP address and Location.

Use these shortcodes to get User info;

[userip_location type=’ip’]
[userip_location type=’country’]
[userip_location type=’countryCode’]
[userip_location type=’region’]
[userip_location type=’city’]
[userip_location type=’lat’]
[userip_location type=’lon’]
[userip_location type=’timezone’]
[userip_location type=’isp’]
[userip_location type=’flag’ height=’auto’ width=’50px’]

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

  • Quick to set up
  • Simple to insert shortcodes
  • Detect visitors IP, Location and ISP information


This plugin is created by TheGuideX and TheVPNCoupon team.

To learn more about WordPress, you can also visit 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.


[userip_location type='ip']
[userip_location type='country']
[userip_location type='countryCode']
[userip_location type='region']
[userip_location type='city']
[userip_location type='lat']
[userip_location type='lon']
[userip_location type='timezone']
[userip_location type='isp']
[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.


پروری 18, 2021
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.
مارچ 26, 2020
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
Read all 4 reviews

Contributors & Developers

“User IP and Location” is open source software. The following people have contributed to this plugin.


Translate “User IP and Location” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


v1.4 (June 6, 2020)

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