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,827 among WordPress.org plugins with 100+ active installations, is #176 of 933 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)
vtrunk Current Version vtrunk
Updated 7 years ago Last Update on 02 Aug, 2019
Refreshed 9 hours ago Last Refreshed on
#176 of 933 in Maps & Location Top 25% by installs No update in over a year
View on WordPress.org
Rank
#13,827
+24 this week
Active Installs
100+
-44.1%
KW Avg Position
2
No change
Downloads
15.8K
+3 today
Support Resolved
0%
No change
Rating
100%
Review 5 out of 5
5 (3 reviews)

Next Milestone 200

Total Progress 32%
100+ 200+
6,520
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 68 more installs to reach 200+

Rank Changes

13,799 13,820 13,841 13,862 13,883 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026 18-09-2026
13,794 13,827 13,860 13,893 13,926 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026 18-09-2026
Current #13,827
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 20 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026 18-09-2026
0 10 20 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026 18-09-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 1 month 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.