More than 250 vector based flags for WordPress
As of April 2026, CSS Flags library is a WordPress link plugin with 10 active installations and a 0/5 rating0. It has been downloaded 1.9K+ times in total. Requires WordPress 4.0+ and PHP false+. Available on WordPress.org since 2015. Last updated 9 years ago — may have compatibility concerns. Top alternative: Custom Post Type Permalinks.
The CSS Flags plugin / library for WordPress loads a dynamicaly created CSS with responsive flags.
Note: CSS Flags is not a standalone plugin/library, To display the flags you will have to add code to your theme using your own plugin or theme functions.php
You can view the flags at my site
Sample CSS:
.css-flag.sami {
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHZlcnNpb249IjEuMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAyMCIgaGVpZ2h0PSIxNTAwIj48cmVjdCB3aWR0aD0iNjQ1IiBoZWlnaHQ9IjE1MDAiIGZpbGw9IiNkODFlMDUiLz48cmVjdCB4PSI2NDUiIHdpZHRoPSIxNDAiIGhlaWdodD0iMTUwMCIgZmlsbD0iIzAwN2EzZCIvPjxyZWN0IHg9Ijc4NSIgd2lkdGg9IjE0MCIgaGVpZ2h0PSIxNTAwIiBmaWxsPSIjZmNkMTE2Ii8+PHJlY3QgeD0iOTI1IiB3aWR0aD0iMTA5NSIgaGVpZ2h0PSIxNTAwIi…| WordPress | 4.0+ requiredTested up to 4.7.33 |
| PHP | false+ required |
css_flags_countries, css_flags_regions, css_flags_exclude and css_flags_cachetime.Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.