CHL-Change HTML Lang is a simple WordPress plugin that change html language attribute(language_attributes();) value in header.
Author: | pratik (profile at wordpress.org) |
WordPress version required: | 4.0 |
WordPress version tested: | 6.6 |
Plugin version: | 1.1.6 |
Added to WordPress repository: | 22-05-2018 |
Last updated: | 17-05-2024 |
Rating, %: | 100 |
Rated by: | 4 |
Plugin URI: | https://wordpress.org/plugins/chl-change-html... |
Total downloads: | 22 100 |
Active installs: | 5 000+ |
Click to start download |
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.
Screenshots
FAQ
ChangeLog