Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

World Flags

Add country flags anywhere in your WordPress blog using simple shortcodes and/or widgets, or show visitor country flag based on their IP address.

What are the options for the World Flags shortcode?

The shortcode supports these attributes:

  • code: Can be an ISO_3166-1_alpha-2 two-letter country code, or the keyword auto for the automatic display of the flags based on the visitor IP address.
  • size: Currently supports 16, 24, 32 and 48 pixel image sizes.
  • text: yes or no, whether to show the country name text beside the flag image.

What are the requirements for the plugin?

  • You need at least 15 megabytes of space on your hosting as the ip2country database file, when extracted, takes some space.
  • Plugin needs to have write permissions on its /data directory.

The plugin auto mode does not show visitor flags correctly. Why?

You probably have some sort of caching enabled like wp-supercache. You need to set the mode to jQuery for the flags to load by ajax calls.

Requires: 2.9.2 or higher
Compatible up to: 3.0.5
Last Updated: 6 years ago
Active Installs: 100+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1
100,2,2 100,1,1 100,2,2