Title: hreflang Flag
Author: julienvdg
Published: <strong>Septanm 7, 2010</strong>
Last modified: Oktòb 29, 2010

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/hreflang-flag.svg)

# hreflang Flag

 By [julienvdg](https://profiles.wordpress.org/julienvdg/)

[Download](https://downloads.wordpress.org/plugin/hreflang-flag.zip)

 * [Details](https://hat.wordpress.org/plugins/hreflang-flag/#description)
 * [Reviews](https://hat.wordpress.org/plugins/hreflang-flag/#reviews)
 *  [Installation](https://hat.wordpress.org/plugins/hreflang-flag/#installation)
 * [Development](https://hat.wordpress.org/plugins/hreflang-flag/#developers)

 [Support](https://wordpress.org/support/plugin/hreflang-flag/)

## Description

hreflang Flag plugin uses [css3 selectors](http://www.w3.org/TR/css3-selectors/#attribute-selectors)
to add a flag icon to your links depending on their [hreflang attribute](http://www.w3.org/TR/html401/struct/links.html#adef-hreflang).

This is really useful if you regularly link to pages in other languages and you 
want to inform your visitors about the language of the link target.

It’s even more useful if your own blog is multilingual.

## Screenshots

 * [[
 * Sample flagged links.

## Installation

 1. Upload the `hreflang-flag` directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to setting -> hreflang Flag configuration and configure the flags you want to
    see (some sample flags are already filled in).
 4. Use the [hreflang attribute](http://www.w3.org/TR/html401/struct/links.html#adef-hreflang)
    in the links you want to see flags.

## FAQ

  I have external link icon the way wikipedia does it, is it compatible with hreflang
Flag ?

Well, no 🙁

hreflang Flag uses the same technique of setting the css background of the a tag,
so the displayed icon will be the last css match (probably the flag) you have to
choose one.
 There could be a possibility as described here: http://www.quirksmode.
org/css/multiple_backgrounds.html but this only work on webkit based browser. However
this is not implemented in hreflang Flag now.

  More questions ?

Please see plugin homepage: http://silicone.homelinux.org/projects/hreflang-flag

Or search wordpress.org Forums.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“hreflang Flag” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ julienvdg ](https://profiles.wordpress.org/julienvdg/)

[Translate “hreflang Flag” into your language.](https://translate.wordpress.org/projects/wp-plugins/hreflang-flag)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/hreflang-flag/), check
out the [SVN repository](https://plugins.svn.wordpress.org/hreflang-flag/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/hreflang-flag/) 
by [RSS](https://plugins.trac.wordpress.org/log/hreflang-flag/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2

 * internationalization
 * French translation

#### 1.1

 * configuration is not reseted after re-enabling the plugin anymore.

#### 1.0

 * initial release

## Meta

 *  Version **1.2**
 *  Last updated **16 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.7 or higher **
 *  Tested up to **3.0.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/hreflang-flag/)
 * Tags
 * [css](https://hat.wordpress.org/plugins/tags/css/)[flag](https://hat.wordpress.org/plugins/tags/flag/)
   [flags](https://hat.wordpress.org/plugins/tags/flags/)[hreflang](https://hat.wordpress.org/plugins/tags/hreflang/)
   [lang](https://hat.wordpress.org/plugins/tags/lang/)
 *  [Advanced View](https://hat.wordpress.org/plugins/hreflang-flag/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/hreflang-flag/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/hreflang-flag/reviews/)

## Contributors

 *   [ julienvdg ](https://profiles.wordpress.org/julienvdg/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/hreflang-flag/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://silicone.homelinux.org/)