
內容簡介
為了改善您的 SEO 和內容的可訪問性,您應該向 Google 宣告網頁的翻譯,以避免重複內容發生。
在編輯器中新增 lang 和 hreflang 屬性的按鈕,可提高當螢幕閱讀器在傳遞來自不同語言的字詞時的可訪問性。
使用此外掛的範例:
您從其他博客中翻譯了一篇博客文章(hreflang 可替換鏈接)
您在兩個不同網站上以兩種語言發佈相同的文章(hreflang 可替換鏈接)
您在內容中使用了其他語言的行業術語(lang 屬性)
您在文章中添加了指向其他語言文章的鏈接(hreflang 屬性)
您的菜單中有一些未翻譯的項目(lang 屬性),或者連接到其他語言的頁面(hreflang 屬性),您可以在菜單管理選單中編輯這些屬性(符合 WordPress 5.4)
功能
為文章(頁面和自定義文章)提供自訂的 hreflang 標籤
可視編輯器中顯示和使用 hreflang 和 lang 屬性
您的主要菜單項目中可使用 hreflang 和 lang 屬性(符合 WordPress 5.4)
已知問題,如果您可以提供代碼幫助的話:
Gutenberg 將 hreflang 屬性應用於鏈接,但不會保存到數據庫中。
您可以捐贈支持:
使用 Paypal 儲值支持
Flattr this thing!
如果您遇到問題,請使用支援論壇告知,並耐心等待。
其他外掛
Juiz Social Post Sharer:如果您需要社交媒體按鈕。
Juiz Outdated Post Message:如果您想在部落格上放置舊帖子的警告。
Embed Can I Use:如果您談論 HTML5、CSS3 或 JS API 的支持,您需要嵌入 Can I Use 支持表格。
外掛標籤
開發者團隊
原文外掛簡介
To improve your SEO and the accessibility of your content, you must declare changes of language within your content.
You must also declare translations of your pages to Google to avoid duplicate content.
TinyMCE: For the people still in this old editor, buttons are available to add lang and hreflang attributes on your content, therefore to improve accessibility when screen readers are reading words from different languages than your main page language.
Gutenberg: For Gutenberg users, WordPress already provide the “Language” menu. When selecting a text you can add a specific language. This plugin will enhance this behaviour with its own command, and by remembering the last language code you used.
This plugin also comes with a hreflang option that you can put on links to tell users “this link lead to a French website” for example.
Example of cases you need this plugin:
You translated a blog post in your language from another blog, (hreflang alternate links)
You publish the same article in 2 languages on 2 different websites, (hreflang alternate links)
You use in your content a jargon from another language. (lang attribute)
You link from your post other posts in another language. (hreflang attribute)
Your Menus have some items not translated (lang attributes) or lead to page in another language (hreflang), you can edit those attributes in the Menus admin-menu. (WordPress 5.4 compatibility) If you have a FSE (Full Site Editing) theme, I don’t know how this will work for you, but you can use the Gutenberg commands this plugin put at your disposal.
Features available
Custom hreflang alternate links for posts (page, and custom posts)
Attributes hreflang and lang available and visible in the editor
Attributes hreflang and lang available on your main Menus items. (WordPress 5.4 compatibility)
Known bugs
In old version of Gutenberg, the hreflang attribute on links is applied, but never save it in database. That is because hreflang is cleaned from WordPress posts. Indeed, it was not well recognized by the WordPress post sanitizing function.
You can donate to support
Donate what you want with Paypal
Please, use the support forum to tell me bugs encountered, and be patient
Other plugins
Juiz Social Post Sharer: if you need social buttons.
Juiz Outdated Post Message: if you want to put a warning on old post on your blog.
Embed Can I Use: if you talk about support of HTML 5, CSS3 or JS API, you need to embed Can I Use support tables.
Social integration for BlueSky: Add a Profile Banner, a list of your recent BlueSky Posts, or an auto syndication on BlueSky with this plugin.
