Q
by Marko-M 5 (3 reviews)

Quick Flag

Resolves IP address to ISO 3166-1 alpha-2 two-letter country code and name and displays country flag image if required.

Quick Flag ranks #13,928 among WordPress.org plugins with 100+ active installations, is #176 of 1,003 in the Maps & Location category, a 5/5 rating from 3 reviews, and was last updated Aug 2, 2019. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 3.4 (Current: 7.1.4)
vtrunk Current Version vtrunk
Updated 7 years ago Last Update on 02 Aug, 2019
Refreshed 1 week ago Last Refreshed on
#176 of 1,003 in Maps & Location Top 25% by installs No update in over a year
View on WordPress.org
Rank
#13,928
— No change
Active Installs
100+
— No change
KW Avg Position
2
— No change
Downloads
15.8K
+4 today
Support Resolved
0%
— No change
Rating
100%
Review 5 out of 5
5 (3 reviews)

Next Milestone 200

Total Progress 71%
100+ 200+
1,254
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 29 more installs to reach 200+

Rank Changes

13,232 13,580 13,928 14,276 14,624 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
13,859 13,899 13,939 13,978 14,018 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
Current #13,928
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 10 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
0 10 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

5.0
3 reviews
Overall 100%
5
3 (100%)
4
0 (0%)
3
0 (0%)
2
0 (0%)
1
0 (0%)

Security History

Source: WPVulnerability

No known vulnerabilities on record for Quick Flag. Checked 3 months ago.

TL;DR

AI summary of the plugin's readme

Quick Flag is for WordPress site owners who want to display visitors' country flags or country information based on IP address. It resolves IP addresses to ISO 3166-1 country codes and names using a self-updatable database built from Regional Internet Registrar data, and can show a corresponding flag image.

  • IP to country code resolution
  • Country flag image display
  • Self-generated database from RIR data
  • Single-click database updates
  • Weekly scheduled automatic updates
  • Country name translation via Poedit
  • PHP function for IP lookup
  • PHP function for flag image retrieval

Frequently Asked Questions

Common questions about Quick Flag

You can place [quick-flag] shortcode to add current IP address country name and flag image to your page or post. To display country name and flag image of IP address other than current you can use this shortcode like [quick-flag ip="some_ip_address"].
You can use something like this: // Query database with following IP address $ip_address = '123.123.123.123'; global $quick_flag; if(isset($quick_flag) && is_object($quick_flag)){ if(($info = $quick_flag->get_info($ip_address)) != false){ $version = $info->version; // Quick Flag version (float): 2.00 $ip = $info->ip; // IP address (string): 123.123.123.123 $code = $info->code; // Country code (string): HR $name = $info->name; // Country name (string): Croatia $latitude = $info->latitude; // Country latitude (float): 45.1667 $longitude = $info->longitude; // Country longitude (float): 15.5 $flag = $quick_flag->get_flag($info, 'my-own-css-class'); // CSS class is optional, 'quick-flag' by default } } $flag variable will contain following string: <img class="my-own-css-class" title="Croatia" src="http://www.yoursite.com/wp-content/plugins/quick-flag/img/flags/HR.gif" />
Like most WordPress plugins Quick Flag can be translated using gettext. You can use Poedit application to open translation template from 'languages' directory or you can use Quick Flag online translation interface. Please keep in mind that after you change your blog language or update language files you must trigger database update to update country names inside database. Currently the easiest way to do this is to delete ip2country.db and ip2country.version files from 'database' directory and click 'Update' button in Quick Flag settings.

Sign In / Register

You need to sign in or register to use this feature.