Flags v2.0.0 released

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.

note Changelog

  • Refactor code to use namespace, improve security and improve maintainability.
  • Update language file.
  • Update readme txt and md files.
  • Fix upload of custom flags.

arrow_down Download

Download from GitHub to manually install; if you already have the plugin installed, an update will be available in the admin dashboard.

bug Support

If you have any problems to log or features to request, contact me via the ClassicPress Plugin Support Forum or you can log an issue via the GitHub repository.

lightbulb Issues/Ideas

Iā€™m keen to resolve any issues and happy to consider functionality requests, so please get in touch if you want to report a problem or ask for new functionality.

Leave a Reply

Your email address will not be published. Required fields are marked *