跳到内容

CHL-Change HTML Lang

v1.1.6

Pratik Kumar · 2018年5月22日 上架

CHL-Change HTML Lang is a simple WordPress SEO plugin for changing HTML language attribute value in the header.

正在使用
7,000+
评分
5.0 / 5
累计下载
3 万
最近更新
2024年5月18日
4 条评价需要 WordPress 4.0+已测试到 6.6.12PHP 5.3+

贡献者

截图

Navigate to Settings → General for changing HTML lang=
Navigate to Settings → General for changing HTML lang=

CHL-Change HTML Lang is a simple WordPress SEO plugin for changing HTML language attribute(language_attributes();) value in header.

Many of us use WordPress(Admin area UI) in the English version but write their content in another language. So by default WordPress uses English(en-US) language attribute for <?php language_attributes(); ?> used in header.php.
For example – If you write your content in Hindi language but use WordPress(Admin area UI) in English, your html language attribute must be hi or hi-IN for many reasons including SEO but WordPress echo html language attribute of installed locale version (en-US by default).
You can’t change HTML language attribute directly so I created this plugin(CHL-Change HTML Lang) that allows you to change HTML language attribute from the dashboard.
After activating this plugin simply visit Settings General and change HTML lang tag.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums