Title: SVG Flags – Country Flag Blocks and Galleries
Author: David Gwyer
Published: <strong>اکتوبر 22, 2017</strong>
Last modified: اکتوبر 6, 2026

---

پلگ ان ڳولو

![](https://ps.w.org/svg-flags-lite/assets/banner-772x250.png?rev=2472531)

![](https://ps.w.org/svg-flags-lite/assets/icon-256x256.png?rev=2472365)

# SVG Flags – Country Flag Blocks and Galleries

 [David Gwyer](https://profiles.wordpress.org/dgwyer/) کنوں

[ڈاؤن لوڈ](https://downloads.wordpress.org/plugin/svg-flags-lite.0.12.2.zip)

 * [تفصیلاں](https://skr.wordpress.org/plugins/svg-flags-lite/#description)
 * [ریویو](https://skr.wordpress.org/plugins/svg-flags-lite/#reviews)
 *  [انسٹال کرݨ](https://skr.wordpress.org/plugins/svg-flags-lite/#installation)
 * [ڈیویلپمنٹ ](https://skr.wordpress.org/plugins/svg-flags-lite/#developers)

 [معاونت](https://wordpress.org/support/plugin/svg-flags-lite/)

## تفصیل

SVG Flags of the world allows you to add high quality beautiful flags to your WordPress
site in seconds. Display one or more flags at any scale without loss of quality 
and with a fixed aspect ratio so they always look great! Supported aspect ratios
are 4:3 (default) and 1:1 (square).

Create SVG flags visually in the block editor and preview them in real time. Choose
from 271 current country, territory, regional, and organisation flags using a searchable
selector, then control size, aspect ratio, captions, and layout without leaving 
the editor.

The plugin includes three dynamic blocks:

 * **SVG Flag** for a lightweight CSS-rendered flag.
 * **SVG Flag Image** for an accessible image with country-name alternative text.
 * **SVG Flag Grid** for responsive multi-country galleries with up to eight columns,
   adjustable spacing, captions, and square or 4:3 flags.

Shortcodes are available for classic-editor and template use. Add one flag with `[
svg-flag flag="gb"]`, an accessible image with `[svg-flag-image flag="fr"]`, or 
a gallery with `[svg-flag-grid flags="gb,us,ca,fr" columns="4" caption="true"]`.

#### Go further with SVG Flags Pro

SVG Flags Pro adds linked flag cards, responsive linked grids, searchable and curated
flag directories, flag headings, custom captions and tooltips, and deeper presentation
controls.

Reusable Pro flag collections let you maintain a named set of flags, labels, links,
groups and ordering in one place. Use the Flag Collection block to display the same
collection as a linked grid or searchable directory on multiple pages, or detach
a local copy for a one-off layout.

Build larger collections with CSV import and export. Preview and validate rows before
saving, recover an earlier revision, or restore a collection from the bin. Collection
blocks keep a plain linked-grid copy from the last page save so useful content remains
when the collection or Pro is unavailable. Collection shortcodes require an active
Pro licence.

[Explore SVG Flags Pro](https://wpgoplugins.com/plugins/svg-flags/) for the complete
feature comparison and current pricing, or [open the live demo](https://demo.wpgoplugins.com/svg-flags/)
to try the Free and Pro examples.

We hope you find this plugin useful. If you have a moment please consider [**rating**](https://wordpress.org/support/view/plugin-reviews/svg-flags-lite)
it to show your support. It’s very much appreciated and helps spread the word.

Also, why not take a look at our [other plugins](https://www.wpgoplugins.com). We’re
continually developing great solutions for WordPress.

## سکرین شاٹاں

[⌊The redesigned SVG Flags settings page with block, shortcode, and Pro guidance.⌉⌊
The redesigned SVG Flags settings page with block, shortcode, and Pro guidance.⌉[

The redesigned SVG Flags settings page with block, shortcode, and Pro guidance.

[⌊Building a responsive eight-country Flag Grid in the current WordPress editor.⌉⌊
Building a responsive eight-country Flag Grid in the current WordPress editor.⌉[

Building a responsive eight-country Flag Grid in the current WordPress editor.

[⌊A published flag collection using crisp local SVGs and accessible country captions.⌉⌊
A published flag collection using crisp local SVGs and accessible country captions
.⌉[

A published flag collection using crisp local SVGs and accessible country captions.

## Blocks

This plugin provides 3 blocks.

 *   SVG Flag
 *   SVG Flag Image
 *   SVG Flag Grid

## انسٹال کرݨ

 1. Via the WordPress admin go to Plugins => Add New.
 2. Enter ‘SVG Flags’ (without quotes) in the text box and click the ‘Search Plugins’
    button.
 3. In the list of relevant Plugins click the ‘Install’ link for SVG Flags on the right
    hand side of the page.
 4. Click the ‘Install Now’ button on the popup page.
 5. Click ‘Activate Plugin’ to finish installation.
 6. You’ll be redirected to the plugin welcome page upon activation which gives basic
    usage instructions and other information to get you started.

## ہرہک دے سوال

### Where can I see all the available SVG flag blocks, shortcodes, and attributes?

Visit the [plugin documentation page](https://wpgoplugins.com/document/svg-flags-documentation/)
to see available SVG flags blocks, shortcodes and attributes, plus related options.

### Where can I see SVG Flags in action?

Open the [SVG Flags live demo](https://demo.wpgoplugins.com/svg-flags/) for current
Free and Pro examples. The [product page](https://wpgoplugins.com/plugins/svg-flags/)
has the complete feature comparison, pricing, and documentation links.

### Is there a way to remember all shortcode attributes?

If you use the SVG flag editor blocks then you won’t need to remember any shortcodes
at all as you can add flags to your page content 100% visually. No need to remember
which shortcodes are available. You will also be able to see a live preview of the
flag in the editor when using a block, which you can’t do with shortcodes.

### Where can I get the country code for each flag?

The plugin uses Alpha-2 codes for countries and territories, plus the additional
regional and organisation codes included by the bundled flag-icons library. You 
can look up standard country codes [here](https://www.iban.com/country-codes).

## ریویو

![](https://secure.gravatar.com/avatar/ec8b8422bb465ae8bc396e91e6078b8974b35a964447f8c8ecc86edf1ac2b281?
s=60&d=retro&r=g)

### 󠀁[Thank you for your work!](https://wordpress.org/support/topic/thank-you-for-your-work-20/)󠁿

 [RealMag777](https://profiles.wordpress.org/realmag777/) اپریل 22, 2025

Thank you for your work!

![](https://secure.gravatar.com/avatar/07833ac06bd2f8083171b5291eab3165736cb18ae275f159c7269ba5221f88a7?
s=60&d=retro&r=g)

### 󠀁[cool](https://wordpress.org/support/topic/cool-1236/)󠁿

 [podroznik](https://profiles.wordpress.org/podroznik/) جنوری 11, 2023

nice plugins works well in what it was intended to do

![](https://secure.gravatar.com/avatar/2ba5e4a3c4bba0360921f4a06f0d687900df99e4420e2e8ed8bd533cbe06027a?
s=60&d=retro&r=g)

### 󠀁[Super-confusing and slows the website down](https://wordpress.org/support/topic/super-confusing-and-slows-the-website-down/)󠁿

 [sickleadz](https://profiles.wordpress.org/sickleadz/) جولائی 30, 2022 1 reply

Super-confusing and slows the website down. Uninstalled.

![](https://secure.gravatar.com/avatar/ffec45b9db303f32b31d83aeed58c834cd10e5fcb50643371e27842574fe7c06?
s=60&d=retro&r=g)

### 󠀁[Simple and intuitive](https://wordpress.org/support/topic/simple-and-intuitive-20/)󠁿

 [wxia0822](https://profiles.wordpress.org/wxia0822hotmailcom/) ستمبر 1, 2019 1 
reply

Work as described.

![](https://secure.gravatar.com/avatar/e0bb86e5d0f213301dda50b6afec7091a55e20ad3494a1ecd4636d66788aba50?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-6022/)󠁿

 [Love Regefalk](https://profiles.wordpress.org/monengo/) اگست 13, 2019 1 reply

Just what I was looking for!

![](https://secure.gravatar.com/avatar/12a008deacf003918520361acfab85d5e7e01ca4f5fd827b3b5d86cb55085aea?
s=60&d=retro&r=g)

### 󠀁[A really nice simple plugin.](https://wordpress.org/support/topic/i-really-nice-simple-plugin/)󠁿

 [moleisking](https://profiles.wordpress.org/moleisking/) جون 14, 2018 1 reply

I really nice simple plugin for maps. It would be nice to add the flags via shortcodes
or in the titles, and posts without the use of HTML.

 [ سارے 6 ریویو پڑھو ](https://wordpress.org/support/plugin/svg-flags-lite/reviews/)

## Contributors & Developers

“SVG Flags – Country Flag Blocks and Galleries” is open source software. The following
people have contributed to this plugin.

حصہ پاوݨ آلے

 *   [ David Gwyer ](https://profiles.wordpress.org/dgwyer/)
 *   [ wpgoplugins ](https://profiles.wordpress.org/wpgoplugins/)

“SVG Flags – Country Flag Blocks and Galleries” has been translated into 1 locale.
Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/svg-flags-lite/contributors)
for their contributions.

[ “SVG Flags – Country Flag Blocks and Galleries&#8221 دا آپݨی زبان وچ ترجمہ کرو۔](https://translate.wordpress.org/projects/wp-plugins/svg-flags-lite)

### ڈیویلپمنٹ وچ دلچسپی ہے؟

[Browse the code](https://plugins.trac.wordpress.org/browser/svg-flags-lite/), check
out the [SVN repository](https://plugins.svn.wordpress.org/svg-flags-lite/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/svg-flags-lite/)
by [RSS](https://plugins.trac.wordpress.org/log/svg-flags-lite/?limit=100&mode=stop_on_copy&format=rss).

## تبدیلی لاگ

#### 0.12.2, OCT 6, 2026

 * Improved preservation of saved flag images when switching between Free and Pro
   plugin folders.
 * Restored the logo and example images on the plugin admin pages.
 * Kept WordPress and Freemius notices below the complete admin header.
 * Added clearer Pro collection and CSV information, with direct product and live-
   demo links.
 * Fixed early translation loading in the introductory pricing integration.

#### 0.11.1, OCT 3, 2026

 * Added favourite and recently used shortcuts to searchable flag pickers.
 * Added direct move-up, move-down and removal controls to selected Flag Grid items.
 * Expanded Home examples, documentation and release guidance for the current Free
   and Pro workflows.

#### 0.10.0, SEP 1, 2026

 * Added a unified admin Home with more one-click flag starter drafts and clearer
   guidance.
 * Added persistent defaults for newly inserted Flag, Flag Image, and Flag Grid 
   blocks.
 * Added privacy-safe support diagnostics, improved keyboard and responsive admin
   behaviour, and accurate edition status after licence deactivation.
 * Added direct routes to SVG Flags Pro and relevant WPGO companion plugins.

#### 0.9.8, AUG 20, 2026

 * Fix: Declared Block API v3 in every server-side block registration for the WordPress
   7.1 iframed editor.

#### 0.9.7, AUG 10, 2026

 * Restored compatibility with current WordPress and PHP releases.
 * Replaced the obsolete Node Sass build with a maintained Dart Sass and Webpack
   toolchain.
 * Improved the editor country selector and fixed admin asset loading.
 * Updated all blocks to Block API v3 and opted into current WordPress control sizing.
 * Hardened flag, shortcode, and release configuration handling.
 * Added a responsive multi-country Flag Grid block and shortcode.
 * Added accessible image alternative text and lazy loading.
 * Updated the Freemius SDK from 2.4.3 to 2.13.4.
 * Updated the bundled flag library from flag-icon-css 3.4.5 to flag-icons 7.5.0,
   with 271 current flags and legacy CSS class compatibility.
 * Replaced the legacy shared plugin framework with native SVG Flags admin and plugin
   services.

#### 0.9.6, MAR 21, 2022

 * Updated Freemius SDK to v2.4.3.

#### 0.9.5, JAN 29, 2021

 * Updated 3rd party libraries.
 * Minor bug fixes and UI updates.

#### 0.9.3, SEP 7, 2020

 * New: Added a new [svg-flag-heading] shortcode.
 * New: Added a block as an alternative to the [svg-flag-heading] shortcode.
 * New: Added a block as an alternative to the [svg-flag-image] shortcode.
 * Fixed: New features counter now working correctly.

#### 0.9.2, SEP 7, 2020

 * Patched bug in new features counter.

#### 0.9.1, AUG 28, 2020

 * Updated: Refactored code.

#### 0.9.0, MAR 11, 2020

 * New: Added new [svg-flag-image] shortcode.
 * New: Attributes added to the [svg-flag] shortcode: size, size_unit.
 * New: Attributes added to the [svg-flag] shortcode that were previously ONLY available
   in pro: caption, random, inline.
 * New: Added new editor block which is a direct replacement to the [svg-flag] shortcode.
 * Updated: Deployment script.

#### 0.8, DEC 02, 2020

 * Updated settings.

#### 0.7, DEC 30, 2019

 * Updated settings page.

#### 0.6, DEC 24, 2019

 * Maintenance release.

#### 0.5, DEC 23, 2019

 * Fixed ‘square’ shortcode attribute.
 * Most of the code refactored.
 * Compatible with WordPress 5.3.

#### 0.4, MAY 21, 2019

 * Minor bug fix.

#### 0.3, MAY 21, 2019

 * Added new `[svg-flags]` shortcode as a recent update to the Gutenberg block editor
   seems to strip out using the SVG flag HTML directly. Use the new shortcode to
   guarantee the flag will always display in the block editor and on the front end.

#### 0.2, APRIL 26, 2019

 * Flag SVG’s updated to latest version (3.3).
 * SVG flags now work in the WordPress (5.0+) block editor.

#### 0.1, OCTOBER 25, 2017

 * Initial plugin release!

## میٹا

 *  Version **0.12.2**
 *  Last updated **1 ہفتہ پہلے**
 *  Active installations **2,000+**
 *  WordPress version ** 6.3 یا ودھ **
 *  Tested up to **7.1.3**
 *  PHP version ** 7.4 یا ودھ **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/svg-flags-lite/) تے [Russian](https://ru.wordpress.org/plugins/svg-flags-lite/).
 *  [آپݨی زبان وچ ترجمہ کرو](https://translate.wordpress.org/projects/wp-plugins/svg-flags-lite)
 * Tags
 * [country](https://skr.wordpress.org/plugins/tags/country/)[flag](https://skr.wordpress.org/plugins/tags/flag/)
   [scalable](https://skr.wordpress.org/plugins/tags/scalable/)[SVG](https://skr.wordpress.org/plugins/tags/svg/)
   [world](https://skr.wordpress.org/plugins/tags/world/)
 *  [اعلیٰ منظر](https://skr.wordpress.org/plugins/svg-flags-lite/advanced/)

## ریٹنگ

 4.3 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/svg-flags-lite/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/svg-flags-lite/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/svg-flags-lite/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/svg-flags-lite/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/svg-flags-lite/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/svg-flags-lite/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/svg-flags-lite/reviews/)

## حصہ پاوݨ آلے

 *   [ David Gwyer ](https://profiles.wordpress.org/dgwyer/)
 *   [ wpgoplugins ](https://profiles.wordpress.org/wpgoplugins/)

## معاونت

Got something to say? Need help?

 [معاونت فورم ݙیکھو](https://wordpress.org/support/plugin/svg-flags-lite/)