Plugin info

Total downloads: 1,975
Active installs: 100
Total reviews: 3
Average rating: 4.3
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 1/11/2015 (4007 days ago)
Added to WordPress: 1/7/2015 (10 years old)
Minimum WordPress version: 3.0.1
Tested up to WordPress version: 4.1.42
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4007 days ago • 3 reviews

22/100

Is Set HTML lang attribute per post abandoned?

Possibly abandoned (last update 4007 days ago).

Compatibility

Requires WordPress: 3.0.1
Tested up to: 4.1.42
Requires PHP: f

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Site Language Definition
Rating 0.0/5 (0 reviews)Active installs 10
HTML Global lang Attribute
Rating 5.0/5 (1 reviews)Active installs 200
Lang Attribute for the Block Editor
Rating 4.7/5 (3 reviews)Active installs 90
Admin Language
Rating 1.5/5 (2 reviews)Active installs 10
Complete Language Switcher
Rating 0.0/5 (0 reviews)Active installs 10
Accessibility Language
Rating 0.0/5 (0 reviews)Active installs 10

Description

This wordpress plugin adds a meta box for specifying html lang=”” language per post.

The problem this plugin solves

WordPress allows us to specify site-wide language defaults like so:


The problem comes about if you have blog posts in various languages. Personally I write posts in either English or Norwegian. And since English is set as the site-wide language posts that are in Norwegian end up looking kinda weird due to weirdly placed - (hyphenations).

Solution

The solution is to add more specific html lang attributes when needed.

For example this specifies that the post is in Vietnamese. This plugin enables a meta box when editing posts where you may specify the post’s language.

Contributing

This plugin was made in a jiffy. But by all means do suggest improvements. For instance the plugin obviously lacks testing code.

Licensing

Copyright 2014 Nils Norman Haukås

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Installation

  1. Upload htmllang.php to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Frequently Asked Questions

Wondering about something?

Review feed

No reviews available

Screenshots

  1. screenshot-1.png

    screenshot-1.png

Changelog

0.0.1

  • Initial publish.