Title: hreflang Flag
Author: julienvdg
Published: <strong>2010 年 9 月 7 日</strong>
Last modified: 2010 年 10 月 29 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# hreflang Flag

 作者：[julienvdg](https://profiles.wordpress.org/julienvdg/)

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

 * [详情](https://cn.wordpress.org/plugins/hreflang-flag/#description)
 * [评价](https://cn.wordpress.org/plugins/hreflang-flag/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/hreflang-flag/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/hreflang-flag/#developers)

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

## 描述

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.

## 屏幕截图

 * [[
 * Sample flagged links.

## 安装

 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.

## 常见问题

  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.

## 评价

此插件暂无评价。

## 贡献者及开发者

「hreflang Flag」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「hreflang Flag」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/hreflang-flag)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/hreflang-flag/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/hreflang-flag/)，或通过[RSS](https://plugins.trac.wordpress.org/log/hreflang-flag/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/hreflang-flag/)。

## 更新日志

#### 1.2

 * internationalization
 * French translation

#### 1.1

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

#### 1.0

 * initial release

## 额外信息

 *  版本 **1.2**
 *  最后更新：**16 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.7 或更高版本 **
 *  已测试的最高版本为 **3.0.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/hreflang-flag/)
 * 标签
 * [css](https://cn.wordpress.org/plugins/tags/css/)[flag](https://cn.wordpress.org/plugins/tags/flag/)
   [flags](https://cn.wordpress.org/plugins/tags/flags/)[hreflang](https://cn.wordpress.org/plugins/tags/hreflang/)
   [lang](https://cn.wordpress.org/plugins/tags/lang/)
 *  [高级视图](https://cn.wordpress.org/plugins/hreflang-flag/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/hreflang-flag/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/hreflang-flag/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://silicone.homelinux.org/)