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

hreflang Flag

描述

hreflang Flag plugin uses css3 selectors to add a flag icon to your links depending on their hreflang attribute.

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 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” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“hreflang Flag”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.2

  • internationalization
  • French translation

1.1

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

1.0

  • initial release