| 开发者 |
dgwyer
wpgoplugins gwycon |
|---|---|
| 更新时间 | 2026年10月7日 00:12 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[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 for the complete feature comparison and current pricing, or open the live demo to try the Free and Pro examples.
We hope you find this plugin useful. If you have a moment please consider rating 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. We're continually developing great solutions for WordPress.
Visit the plugin documentation page to see available SVG flags blocks, shortcodes and attributes, plus related options.
Open the SVG Flags live demo for current Free and Pro examples. The product page has the complete feature comparison, pricing, and documentation links.
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.
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.
[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.