WordPress plugin
SVG Flags Pro
SVG Flags Pro extends SVG Flags - Country Flag Blocks and Galleries with linked flag cards, responsive linked grids, and a searchable flag directory. Headings, custom captions, and tooltips add context; presentation controls let you adjust how flags appear. These settings can support country directories, international service pages, regional navigation, location lists, and organisation collections.
Prepare a flag show
SVG Flags Pro extends SVG Flags - Country Flag Blocks and Galleries with linked flag cards, responsive linked grids, and a searchable flag directory. Headings, custom captions, and tooltips add context; presentation controls let you adjust how flags appear. These settings can support country directories, international service pages, regional navigation, location lists, and organisation collections.
The searchable selector includes 271 current country, territory, regional, and organisation flags. SVG flags scale without losing quality while keeping a fixed aspect ratio: 4:3 by default or 1:1 for square displays.
Choose a block or shortcode
Three dynamic blocks cover various display needs:
- SVG Flag renders a lightweight flag with CSS.
- SVG Flag Image makes 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.
Use the block editor to select flags and configure size, aspect ratio, captions, and layout with a real-time preview. Shortcodes are also available for classic-editor content and templates: [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, alongside additional regional and organisation codes from the bundled flag-icons library.
Install and review
Install SVG Flags Pro on your WordPress site, then add its blocks in the block editor or place a shortcode in classic-editor content or a template. Select flags with the searchable selector, configure the layout and presentation, and review the result in the live preview as you build the page.