這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“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