Title: Ipgp User Country Flag
Author: Lucian Apostol
Published: <strong>19 April 2011</strong>
Last modified: 3 Februari 2023

---

Search plugins

![](https://ps.w.org/ipgp-user-country-flag/assets/banner-772x250.png?rev=2859883)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/ipgp-user-country-flag/assets/icon-256x256.png?rev=2859883)

# Ipgp User Country Flag

 Oleh [Lucian Apostol](https://profiles.wordpress.org/thedark/)

[Download](https://downloads.wordpress.org/plugin/ipgp-user-country-flag.1.2.zip)

 * [Details](https://ms.wordpress.org/plugins/ipgp-user-country-flag/#description)
 * [Reviews](https://ms.wordpress.org/plugins/ipgp-user-country-flag/#reviews)
 *  [Pemasangan](https://ms.wordpress.org/plugins/ipgp-user-country-flag/#installation)
 * [Pembangunan](https://ms.wordpress.org/plugins/ipgp-user-country-flag/#developers)

 [Support](https://wordpress.org/support/plugin/ipgp-user-country-flag/)

## Description

The plugin will show your visitors their country flag, based on their IP Address.
You can add it as a widget to your sidebar, using a shortcode in your post or pages
or directly in your template trough template tags.

The geolocation is provided by http://www.ipgp.net

You can use [ipflag] shortcode, add it trough a widget, or directly into template
with <?php echo ipgp_flag(); ?>

## Installation

This section describes how to install the plugin and get it working.

 1. Download the plugin files and upload them into your wp-content/plugins/ directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to ‘Appearance’ section on your admin panel, and select ‘Widgets’ submenu OR
    add the following shortcode to your posts and pages: [ipflag]
 4. Drag “Ipgp Country Flag” widget and paste it to your active sidebar, in the place
    you want it to appear

## FAQ

### Do i have to change my theme to make the plugin work?

No theme changes are needed for this plugin.

### I don’t want the plugin to appear in the sidebar, can i add it elsewhere ?

You can place the plugin in your sidebar, or in a page or post using template tag[
ipflag] or directly into the template with <?php echo ipgp_flag(); ?>

## Reviews

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

### 󠀁[Hope you like it.](https://wordpress.org/support/topic/hope-you-like-it-2/)󠁿

 [Lucian Apostol](https://profiles.wordpress.org/thedark/) 26 Disember 2016

This plugin will let you show your visitors the flag of their originating country.

 [ Read all 1 review ](https://wordpress.org/support/plugin/ipgp-user-country-flag/reviews/)

## Contributors & Developers

“Ipgp User Country Flag” adalah perisian sumber terbuka. Orang-orang berikut telah
menyumbang kepada pemalam ini.

Penyumbang

 *   [ Lucian Apostol ](https://profiles.wordpress.org/thedark/)

[Translate “Ipgp User Country Flag” into your language.](https://translate.wordpress.org/projects/wp-plugins/ipgp-user-country-flag)

### Berminat dalam pembangunan?

[Layari kod](https://plugins.trac.wordpress.org/browser/ipgp-user-country-flag/),
periksa [repositori SVN](https://plugins.svn.wordpress.org/ipgp-user-country-flag/),
atau langgani [log pembangunan](https://plugins.trac.wordpress.org/log/ipgp-user-country-flag/)
dengan [RSS](https://plugins.trac.wordpress.org/log/ipgp-user-country-flag/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2

 * Added p html tags for flag output

#### 1.1.1

 * Tested and updated to work with WordPress 5.3.2

#### 1.1

 * Changed to protocol relative url to prevent mixed content problems

#### 1.0.1

 * Fixed version number

#### 1.0

 * Created admin menu page with instructions
 * Set fixed width to the flag image
 * Fixed widget headers and footers display

#### 0.6.2

 * Updated deprecated function register_sidebar_widget

#### 0.6

 * Changed plugin description
 * Tested with wordpress 4.4

#### 0.5

 * Fixed display problems of the flag
 * Adapted to work with wordpress 4.1.1

#### 0.4

 * Checked and tested for wordpress 4.0.1 compatibility
 * Changed from xml to json api version
 * Fixed api call problems

#### 0.3

 * Added support to work with API key

#### 0.2

 * Fixed the problem showing a broken image when the country is not available

#### 0.1

 * This is the first version of the plugin

## Meta

 *  Version **1.2**
 *  Last updated **3 tahun lalu**
 *  Active installations **30+**
 *  WordPress version ** 2.0.2 or higher **
 *  Tested up to **6.1.10**
 *  Language
 * [English (US)](https://wordpress.org/plugins/ipgp-user-country-flag/)
 * Tags
 * [country flag](https://ms.wordpress.org/plugins/tags/country-flag/)[flag](https://ms.wordpress.org/plugins/tags/flag/)
   [ip address lookup](https://ms.wordpress.org/plugins/tags/ip-address-lookup/)
   [widget](https://ms.wordpress.org/plugins/tags/widget/)
 *  [Paparan Lanjutan](https://ms.wordpress.org/plugins/ipgp-user-country-flag/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/ipgp-user-country-flag/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/ipgp-user-country-flag/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/ipgp-user-country-flag/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/ipgp-user-country-flag/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/ipgp-user-country-flag/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ipgp-user-country-flag/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ipgp-user-country-flag/reviews/)

## Penyumbang

 *   [ Lucian Apostol ](https://profiles.wordpress.org/thedark/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/ipgp-user-country-flag/)

## Derma

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.ipgp.net)