Flags

Allows a 16×16 flag to be displayed in a post of page using a [flag] shortcode.

Format of shortcode is [flag=gb] to display the flag of the United Kingdom of Great Britain and Northern Ireland; 247 flags are included.

Definition of included flags can be found at Wikipedia page ISO 3166-1 alpha-2.

Download

Download from WordPress.org.

Installation

To install the plugin copy the azurcurve-flags folder into your plug-in directory and activate it.

Changelog

1.1.0

  • Add css to remove flag borders

1.0.0

  • First version

Donation

azurecurve plugins are free, open source tools for increasing the potential of WordPress as a CMS.

Plugins are a result of many many hours spent to deliver best product possible, reading comments from you and trying to support every WordPress release as soon as possible.

You can help support the development by donating a small amount of money.





4 thoughts on “Flags

  1. avatar Jan Ball says:

    How do you know which flag code is which? Do you have some sort of key or legend? I mean, the GB flag is great, but what if we need one of the others? Also, I used the code you have listed and it shows as a broken image. 🙁

    1. avatar Ian Grieve says:

      I’ve updated the description to include a link to a Wiki article showing the included flags.

  2. Hi, loved your plugin but I honestly need the flags to be bigger (like double/triple the current size).

    If you have any option to help me with this I will really appreciate this a lot.

    Thanks from advance,

    Eli Markovetksi

    1. avatar Ian Grieve says:

      Hi Eli,
      The icons I use are from famfamfam which are only available as 16×16; you can replace the flags in the images folder with any png files you want and use the filename as the parameter to load the image.

Leave a Reply

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