A wordpress plugin to add a flag icon to link corresponding to the hreflang attribute.
- Upload the
hreflang-flagdirectory to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to setting -> hreflang Flag configuration and configure the flags you want to see (some sample flags are already filled in).
- Use the hreflang attribute in the links you want to see flags.
The block above was written using the following html code:
bla bla <a hreflang="en" href="#">English link</a> bla bla bla bla <a hreflang="fr" href="#">French link</a> bla bla bla bla <a hreflang="en-US" href="#">link to USA</a> bla bla bla bla <a hreflang="en-GB" href="#">link to GB</a> bla bla
You can install the plugin from hreflang Flag plugin page on wordpress.org !
I recently added internationalization support to the plugin, so if you want to see it translated to your language, you can translate it !
If you do so, please send me your .po file so I can integrate it to next release, thanks.
Also if you think my english writing does not sound good, send me a patch 😉
- Editor plugin to assist link editing