🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Set HTML lang attribute per post icon
Possibly abandoned Tested up to 4.1.42 #43 in html

Set HTML lang attribute per post

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

Active installs100+100+ tier
Downloads · 30d137▲ +85.1% vs prev. 30d
Rating4.3/53 reviews
Health score30/100At risk
All-time downloads2.6KSince Jan 2015
Support resolved—No recent threads
RequiresWP 3.0.1PHP any
Downloads · 7d39▲ +11.4% week over week
Our verdict

Consider an alternative

Set HTML lang attribute per post shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 4.3/5 and was last updated 12 years ago, and scores 30/100 on our health check.

  • Small user base (100+ active installs)
  • Very few reviews so far
  • No update in 11 years
  • Only tested up to WordPress 4.1 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

258Sep 3Oct 17Dec 1
Yesterday4
Daily average (1y)2
Peak day11Nov 26, 2026
Last 12 months613

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Set HTML lang attribute per… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
html >100 10,000 Best html plugins →
lang >100 880 Best lang plugins →
language >100 10,000 Best language plugins →

Version adoption

Share of active sites per release.

  • 0.0100.0%

Rating breakdown

★★★★★★★★★★ 4.3 from 3 reviews

  • 5★66.7%
  • 4★0.00%
  • 3★33.3%
  • 2★0.00%
  • 1★0.00%

About Set HTML lang attribute per post

From the official readme · v0.0.1

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:

<meta http-equiv="content-language" content="es">

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.

<article id="" class="" lang="vi">

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.

Changelog

0.0.1

  • Initial publish.

Full changelog on WordPress.org →

Screenshots

screenshot-1.png
screenshot-1.png

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Set HTML lang attribute per p… alternatives

All html plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Shortcoder — Create Shortcodes for Anything Shortcoder — Create Shortcodes for Anything Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the… by vaakash 100K+ ★★★★★★★★★★ 4.9 (227) 3 months ago 77
2 Mammoth .docx converter Mammoth .docx converter Mammoth converts semantically marked up .docx documents to simple and clean HTML, allowing… by Michael Williamson 20K+ ★★★★★★★★★★ 4.8 (62) 9 months ago 61
3 Code Embed Code Embed Code Embed provides a very easy and efficient way to embed code (JavaScript, CSS and HTML)… by David Artiss 10K+ ★★★★★★★★★★ 4.4 (45) 1 week ago 87
4 Raw HTML Raw HTML Lets you use raw HTML or any other code in your posts. You can also disable smart quotes… by Janis Elsts 10K+ ★★★★★★★★★★ 4.3 (33) 2 years ago 44
5 Minify HTML Minify HTML Minify HTML output for clean looking markup and faster downloading. by Tim Eckel 10K+ ★★★★★★★★★★ 4.7 (33) 9 months ago 61
6 WP Super Minify • Minify, Compress and Cache HTML, CSS & JavaScript WP Super Minify • Minify, Compress and Cache HTML, CSS & Ja… A lightweight plugin that automatically minifies, compresses, and caches HTML, CSS, and… by Dipak Gajjar 8K+ ★★★★★★★★★★ 4.1 (73) 3 months ago 75
7 Allow HTML in Category Descriptions Allow HTML in Category Descriptions This plugin allows you to use unfiltered HTML in your category descriptions by disabling… by Arno Esterhuizen 8K+ ★★★★★★★★★★ 5 (41) 9 months ago 61
8 Custom HTML Block Extension Custom HTML Block Extension Turn the Custom HTML block into an advanced code editor. by Aki Hamano 7K+ ★★★★★★★★★★ 5 (14) 4 weeks ago 73
9 Code Widget Code Widget Code widget help to add Short Code, PHP Code, HTML, and Simple Text in widget. by Sharaz Shahid 3K+ ★★★★★★★★★★ 4.9 (35) 4 years ago 45
10 Preserved HTML Editor Markup Plus Preserved HTML Editor Markup Plus Preserves HTML and developer edits in HTML AND WYSIWYG tab. Supports inline scripts/css… by J-Ro 3K+ ★★★★★★★★★★ 4.2 (36) 7 years ago 41

FAQ

Set HTML lang attribute per post: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Set HTML lang attribute per post free?

Yes. Set HTML lang attribute per post is free to download and use from the official WordPress.org plugin directory.

Is Set HTML lang attribute per post safe to use in 2026?

Set HTML lang attribute per post shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 4.3/5 and was last updated 12 years ago, and scores 30/100 on our health check.

How many websites use Set HTML lang attribute per post?

Set HTML lang attribute per post is active on 100+ WordPress websites and has been downloaded 2,586 times since it launched in January 2015. It was downloaded 137 times in the last 30 days.

Does Set HTML lang attribute per post work with WordPress 7.1?

Set HTML lang attribute per post is officially tested up to WordPress 4.1.42, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Set HTML lang attribute per post last updated?

The latest version, 0.0.1, was released on January 11, 2015 (12 years ago).

Who makes Set HTML lang attribute per post?

Set HTML lang attribute per post is developed and maintained by nilsnh.

What are the best alternatives to Set HTML lang attribute per post?

The most popular alternatives to Set HTML lang attribute per post are Shortcoder (100K+ installs), Mammoth .docx converter (20K+ installs) and Code Embed (10K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open