Home Plugins juiz lang attributes
Juiz Lang Attribute logo

Juiz Lang Attribute

by Geoffrey on WordPress.org

Add a custom HREFLANG meta box on your post to manually edit the link between your post and a translation (which could be outside your domain).

(4)
Metabox for post

Metabox for post

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

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.

Active installations400+
Weekly downloads
77+13.24%
Version1.3.1
Last updated12/28/2024
WordPress version4.5
Tested up to6.7.2
Tags
alternateattributehreflanglangseo
Juiz Lang Attribute | Plugin0