Q
by Marko Martinović
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.
Tested up to WP 3.4 (Current: 6.9)
vtrunk
Current Version vtrunk
Updated 6 years ago
Last Update on 02 Aug, 2019
Synced 16 hours ago
Last Synced on
Rank
#13,465
-15 this week
Active Installs
100+
-49.5%
KW Avg Position
1
—
No change
Downloads
15.7K
—
Total downloads
Support Resolved
0%
—
No change
Rating
100%
Review 5 out of 5
5
(3 reviews)
Next Milestone 200
100+
200+
112
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
Need 4 more installs to reach 200+
Rank Changes
Current
#13,465
Change
Best
#
Downloads Growth
Downloads
Growth
Peak
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
5.0
3 reviews
Overall
100%
5
3
(100%)
4
0
(0%)
3
0
(0%)
2
0
(0%)
1
0
(0%)
Tracked Keywords
Showing 1 of 1| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| ip2country | 1 | — | Tag | 17 hours ago |
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- trunk
- Last Updated
- Aug 02, 2019
- Requires WP
- 3.0+
- Tested Up To
- 3.4
- PHP Version
- N/A
- Author
- Marko Martinović
Support & Rating
- Rating
- ★ ★ ★ ★ ★ 5
- Reviews
- 3
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowSimilar Plugins
WP Adminify – White Label WordPress, Admin Menu Editor, Login Customizer
7K+ installs
#2,738
Master Addons For Elementor - White Label, Free Widgets, Hover Effects, Conditions, & Animations
40K+ installs
#930
Nginx Helper
100K+ installs
#313
Advanced Ads – Ad Manager & AdSense
100K+ installs
#399
Custom Permalinks
100K+ installs
#416
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.