Title: User Location and IP
Author: Sunny Bundel
Published: <strong>13.05.2020</strong>
Last modified: 29.08.2025

---

Поиск плагинов

![](https://ps.w.org/user-location-and-ip/assets/banner-772x250.png?rev=2304129)

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://ps.w.org/user-location-and-ip/assets/icon-256x256.png?rev=2771669)

# User Location and IP

 Автор: [Sunny Bundel](https://profiles.wordpress.org/sunnybundel/)

[Скачать](https://downloads.wordpress.org/plugin/user-location-and-ip.zip)

 * [Детали](https://ru.wordpress.org/plugins/user-location-and-ip/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/user-location-and-ip/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/user-location-and-ip/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/user-location-and-ip/#developers)

 [Поддержка](https://wordpress.org/support/plugin/user-location-and-ip/)

## Описание

«User Location and IP» plugin is one of the best free WordPress plugins that let
you know all the information about your visitors in real-time, including their IP
address, ISP details, location, operating system, browser, city, and many other 
details, all of which can be displayed via shortcodes on your website posts, pages,
and widget.

In order to use this plugin, you just need to copy one of the appropriate shortcodes
from the list below. You can paste it into the location where you want the details
to appear. This can be in the sidebar, the header, the footer, or even in the middle
of the content.

«User Location and IP» plugin uses the [IP-API](http://ip-api.com) website to fetch
users details based on their IP address.

Here’s the list of various shortcodes provided by the «User Location and IP» plugin:

    ```
    [useriploc type="ip"]
    [useriploc type="continent"]
    [useriploc type="country"]
    [useriploc type="countrycode"]
    [useriploc type="region"]
    [useriploc type="regionname"]
    [useriploc type="city"]
    [useriploc type="lat"]
    [useriploc type="lon"]
    [useriploc type="timezone"]
    [useriploc type="currency"]
    [useriploc type="isp"]
    [useriploc type="browser"]
    [useriploc type="os"]
    [useriploc type="flag" height="auto" width="50px" vertical_align="baseline"]
    ```

As for the Flag shortcode, the height, width, and vertical_align attributes are 
optional. The default values for height and weight are auto and 50px, respectively.
For the vertical_align attribute, baseline is the default value. You can, however,
change the vertical_align attribute value to bottom, middle, or top based on the
location where you want the flag to appear. Depending on your preference, you can
pass one or both of these values to alter the flag’s size.

#### Features of User IP and Location

 * Setup is quick and easy.
 * Installation is minimal and does not increase the load on the website.
 * «User Location and IP» provides live and accurate data that is up-to-date.
 * Allows you to display user IP address and location, operating system, browser
   details, etc anywhere on your website using shortcodes.
 * Support for flags and currency shortcodes.

If you are looking for a plugin that can display visitors’ real-time information
anywhere on your blog, then User Location and IP can help you. The plugin is free
and doesn’t require any registration.

#### Credits

I am pleased to announce the release of this plugin which was created by [Sunny Bundel](https://sunnybundel.com/)
with the help of the team at [ WP Talky](https://wptalky.com/) and [ MyTechTalky](https://mytechtalky.com/).

There are also tutorials available on MyTechTalky about WordPress, including:

 * [How to Start a Blog Using WordPress](https://mytechtalky.com/start-a-blog/)

…and many more [WordPress tutorials](https://mytechtalky.com/wordpress/).

## Скриншоты

[⌊An example of shortcodes in "Add New Post"⌉⌊An example of shortcodes in "Add New
Post"⌉[

An example of shortcodes in «Add New Post»

[⌊Screenshot of "Public Post" page with IP address and other information about the
user.⌉⌊Screenshot of "Public Post" page with IP address and other information about
the user.⌉[

Screenshot of «Public Post» page with IP address and other information about the
user.

## Установка

### Directly from the WordPress repository (recommended)

 * Navigate to _Dashboard > Plugins > Add New_.
 * Enter `User Location and IP` in the search box.
 * Click on the `Install` button.
 * Finally, click on the `Activate` button.

### Manual Installation

 * Download the «User location and IP» plugin from the WordPress Repository as a`.
   zip` file.
 * Navigate to _Dashboard > Plugins > Add New_.
 * Click on the `Upload Plugin` button.
 * Now choose the .zip file which you downloaded and click on `Install Now`.
 * Finally, click on the `Activate` button.

## Часто задаваемые вопросы

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

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

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

You can use the shortcodes provided with «User Location and IP» plugin to show a
user’s location, including country, region, country code, city, latitude, longitude,
and other useful information.

### Are flags supported by this plugin?

Yes, flag shortcodes are supported by this plugin. You can display the flag of a
visitor’s country using the [useriploc type=»flag» height=»auto» width=»50px» vertical_align
=»baseline»] shortcode. Height, width, and vertical_align are optional, and the 
default values are auto for height, 50px for width, and baseline for vertical_align.
It is possible to pass any or all of these values to change the flag’s size and 
alignment.

## Отзывы

![](https://secure.gravatar.com/avatar/b8b5d05f16c9f7a56e2e008a523e8bbb27f52a91f8692e8265f2831d7063f2d7?
s=60&d=retro&r=g)

### 󠀁[Great Plugin! | Perfect for Lockout Pages](https://wordpress.org/support/topic/great-plugin-perfect-for-lockout-pages/)󠁿

 [Generosus](https://profiles.wordpress.org/generosus/) 31.10.2022 1 ответ

This multi-features plugin works out of the box. Perfect for customizing lockout(
security) pages. It saved us countless coding hours. Thank you!

![](https://secure.gravatar.com/avatar/7b3677a2c74330f3653bc6b6a805f6399cf65110818c80f6b725fcbdac2eaa37?
s=60&d=retro&r=g)

### 󠀁[Thanks, love it!](https://wordpress.org/support/topic/thanks-love-it-2/)󠁿

 [cuber617](https://profiles.wordpress.org/cuber617/) 21.09.2022 1 ответ

Love this, thanks so much! Any chance to have incorporated into text of a post such
as "thanks for joining us from USER LOCATION CITY"? Thanks!

 [ Посмотреть все 2 отзыва ](https://wordpress.org/support/plugin/user-location-and-ip/reviews/)

## Участники и разработчики

«User Location and IP» — проект с открытым исходным кодом. В развитие плагина внесли
свой вклад следующие участники:

Участники

 *   [ Sunny Bundel ](https://profiles.wordpress.org/sunnybundel/)

[Перевести «User Location and IP» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/user-location-and-ip)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/user-location-and-ip/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/user-location-and-ip/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/user-location-and-ip/)
по [RSS](https://plugins.trac.wordpress.org/log/user-location-and-ip/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 2.0 — 29 August 2025

 * SECURITY: Fixed Cross-Site Scripting (XSS) vulnerabilities by adding proper output
   sanitization.
 * Improved input validation and data escaping for all user-facing outputs.
 * Enhanced security measures to prevent malicious code injection.

#### 1.7 — 25 October 2023

 * Code was sanitized to ensure security.
 * The latest data was updated.
 * Updated to work with the latest WordPress version.

#### 1.6 — 10 November 2022

 * Added support for the `vertical-align` CSS attribute to align the flag properly.
 * Updated to work with the latest WordPress version.
 * Fixed minor bugs.

#### 1.5 — 16 August 2022

 * Added support for browser and operating system detection.
 * New shortcodes have been added.
 * Fixed minor bugs.

#### 1.4

 * Updated to work with the latest version of WordPress.

#### 1.3

 * Fixed a bug where the IP address of your server was displayed instead of the 
   visitor’s IP.

#### 1.2

 * Updated to work with the latest version of WordPress.

#### 1.1

 * Fixed minor bugs.

#### 1.0

 * Initial release

## Мета

 *  Версия **2.0**
 *  Обновление: **1 год назад**
 *  Активных установок: **300+**
 *  Версия WordPress ** 5.4 или выше **
 *  Совместим вплоть до: **6.8.12**
 *  Версия PHP ** 7.2 или выше **
 *  Язык
 * [English (US)](https://wordpress.org/plugins/user-location-and-ip/)
 * Метки:
 * [city](https://ru.wordpress.org/plugins/tags/city/)[ip address](https://ru.wordpress.org/plugins/tags/ip-address/)
   [region](https://ru.wordpress.org/plugins/tags/region/)[user country](https://ru.wordpress.org/plugins/tags/user-country/)
   [user location](https://ru.wordpress.org/plugins/tags/user-location/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/user-location-and-ip/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  2 5-звездный отзыв     ](https://wordpress.org/support/plugin/user-location-and-ip/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/user-location-and-ip/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/user-location-and-ip/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/user-location-and-ip/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/user-location-and-ip/reviews/?filter=1)

[Ваш отзыв](https://wordpress.org/support/plugin/user-location-and-ip/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/user-location-and-ip/reviews/)

## Участники

 *   [ Sunny Bundel ](https://profiles.wordpress.org/sunnybundel/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/user-location-and-ip/)