How to change ‘Home’ link text in WordPress

If you need to change you ‘Home’ link text in your WordPress installation just put these lines to your theme’s function.php:

function change_home($menu_text) {
return preg_replace('/>Home</', '>Blog<', $menu_text, 1);
}
add_filter('wp_page_menu','change_home');

Change ‘Blog’ to whatever you need. The solution was found here.



Leave a Reply

Your email address will not be published. Required fields are marked *