Tags: html, doctype, language attributes, html lang, header, chl-change-html-lang, seo plugin, pzerone
Requires at least: 4.6
Tested up to: 5.0
Stable tag: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
CHL-Change HTML Lang is a simple WordPress plugin that change html language attribute(language_attributes();) value in header.
== Description ==
*CHL-Change HTML Lang is a simple WordPress plugin that change html language attribute(language_attributes();) value in header. It is a well written plugin and doesn’t harm your performance*
Many of us use WordPress(Admin area UI) in English version but write there content in another language. So by default WordPress use 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 reasonable purpose including SEO but WordPress echo html language attribute for 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 allow you to change html language attribute directly.
**After activating this plugin simply visit *Settings → General* and change html lang tag.**
== Installation ==
1. Go to your admin area and select Plugins → Add New from the menu.
2. Search for “CHL-Change HTML Lang”.
3. Click install.
4. Click activate.
5. Navigate to Settings → General.
6. **OR** Go to your admin area and select Plugins → Add New from the menu. Upload the file `chl-change-html-lang.zip`.
7. Activate the plugin through the ‘Plugins’ menu in WordPress.
8. Navigate to Settings → General for changing HTML lang=
== Frequently Asked Questions ==
= Is this plugin support language_attributes(xhtml) ? =
= I have lower version of WordPress installed than what this plugin requires? =
You can use it without any errors.
== Screenshots ==
1. Navigate to Settings → General for changing HTML lang=
== Changelog ==
= 1.0 =
* Initial Release
== Upgrade Notice ==
= 1.0 =
Initial Release. Visit Settings → General after activating.