WordPress plugin
SVG Flags Pro
SVG Flags Pro extends SVG Flags - Country Flag Blocks and Galleries for WordPress pages that need linked flag shows and more context around each entry. Choose linked cards or responsive linked grids, or give users a searchable flag directory.
SVG Flags Pro extends SVG Flags - Country Flag Blocks and Galleries for WordPress pages that need linked flag shows and more context around each entry. Choose linked cards or responsive linked grids, or give users a searchable flag directory.
Choose a block for the display
The block editor lets you search among 271 current country, territory, regional and organisation flags, set their size and layout, and review a real-time preview. The three dynamic blocks cover different display needs:
- SVG Flag renders a lightweight flag with CSS.
- SVG Flag Image creates an picture with country-name alternative text.
- SVG Flag Grid arranges multiple flags in a responsive gallery with up to eight columns, adjustable spacing, captions, and square or 4:3 flags.
SVG flags scale to any size without losing quality and keep a fixed aspect ratio: 4:3 by default, or 1:1 for square displays.
Add links and visitor search
When flags need to lead visitors to other pages, SVG Flags Pro includes linked flag cards and responsive linked grids. Its searchable directory helps visitors find an entry. Flag headings, custom captions and tooltips can add context to country navigation, regional collections, location lists, international service pages or organisation pages.
Use blocks or shortcodes
Configure flags in the block editor and review them in the live preview. For classic-editor content or templates, use the available shortcodes: [svg-flag flag="gb"] for a single flag, [svg-flag-image flag="fr"] for an image, and [svg-flag-grid flags="gb,us,ca,fr" columns="4" caption="true"] for a gallery. Countries and territories use Alpha-2 codes; the bundled flag-icons library also includes codes for regional and organisation flags.
