In this series of articles, I am going to introduce each of the plugins I have developed for ClassicPress, a hard-fork of WordPress, which was originally created to provide an alternative, yet compatible, CMS without the Gutenberg block editor.
The 16th plugin is Flags.
Flags allows a scalable SVG flag to be displayed in a post or page using the [flag]
shortcode
The shortcode usage is [flag id="gb" width="20px" border="1px solid black"]
where the `id` is the country code shown below; width and border are optional parameters and can be defaulted from the settings. Shortcode usage of [flag="gb"]
where default parameters are to be used is also supported.
Definition of flags can be found at Wikipedia page ISO 3166-1 alpha-2 (although some additional flags have been included).
Custom flags can be added; if a custom flag with the same name as a standard flag exists, the custom flag will be used.
Shortcodes In Comments can be used to allow flags in comments and Shortcodes In Widgets can allow them in widgets.
This plugin is multisite compatible.
Download
The current release of the plugin can be downloaded from GitHub
More information
More information on this plugin can be found on the azurecurve | Development page for the plugin.
Click to show/hide the ClassicPress Plugins Available From azurecurve | Development in 2023 Series Index
What should we write about next?
If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.