by Sunny Kumar on WordPress.org
Want to show your website visitors their IP address, location, and other cool details? This plugin makes it super easy! Now works perfectly with cachi …

Plugin settings page - easy to configure
Looking to display your website visitor’s IP address, location, browser details, and other information on your WordPress site? Then “User IP and Location” plugin is exactly what you need!
This plugin is very simple to set up and use. Just install it, and you can start showing visitor information anywhere on your website using easy shortcodes. You can put these shortcodes in your posts, pages, sidebar, footer – anywhere you want!
The best part? We use the reliable and free IP-API service to get all the location data, so the information is always accurate and up-to-date.
New in Version 4.x.x – Works with Caching Plugins!
Are you using WP-Rocket, W3 Total Cache, or any other caching plugin? No problem at all! We’ve completely rebuilt the plugin to work perfectly with all caching plugins. Your visitors will always see their own correct information, not some cached data from another visitor.
Advanced Features:
Here are all the shortcodes you can use:
[userip_location type="ip"] - Shows visitor's IP address
[userip_location type="continent"] - Shows continent name
[userip_location type="country"] - Shows country name
[userip_location type="countrycode"] - Shows country code (like IN, US, UK)
[userip_location type="region"] - Shows region code
[userip_location type="regionname"] - Shows region/state name
[userip_location type="city"] - Shows city name
[userip_location type="zip"] - **NEW!** Shows ZIP/postal code
[userip_location type="lat"] - Shows latitude
[userip_location type="lon"] - Shows longitude
[userip_location type="timezone"] - Shows timezone
[userip_location type="currency"] - Shows local currency
[userip_location type="isp"] - Shows internet provider name
[userip_location type="mobile"] - Shows if visitor is on mobile network
[userip_location type="proxy"] - Shows if visitor is using proxy
[userip_location type="hosting"] - Shows if IP is from hosting provider
[userip_location type="browser"] - Shows browser name
[userip_location type="os"] - Shows operating system
[userip_location type="flag" height="auto" width="50px" vertical_align="middle"] - Shows country flag
[userip_localtime] - **NEW!** Shows visitor's current local time
[userip_localdate] - **NEW!** Shows visitor's current local date
Smart Conditional Content:
Show different content to visitors from different places! Perfect for targeted marketing, regional offers, or localized messages.
[userip_conditional country="US,IN"]Content for US and India visitors only[/userip_conditional]
[userip_conditional country_not="CN,RU"]Content for everyone except China and Russia[/userip_conditional]
[userip_conditional region="CA,TX"]Special offers for California and Texas![/userip_conditional]
[userip_conditional city="Mumbai,Delhi"]Mumbai and Delhi exclusive deals[/userip_conditional]
About the Flag Shortcode:
When using the flag shortcode, you can control its size and position. The height, width, and vertical_align options are all optional. By default, height is auto, width is 50px, and it aligns in the middle. You can change these as per your needs.
Perfect for bloggers, businesses, and developers who want to personalize their website based on visitor location!
This awesome plugin is created by the talented team at HeySERP .
Want to learn more about WordPress? Check out our website TheGuideX where we share helpful tutorials on:
…and many more helpful WordPress tutorials in simple language!