WordPress – How to change the home page title text in navigation menu

Wordpress

I have created a wordpress site. The home page appears in the navigation menu with the name of "Home".

I want to change this text to some other text so that in the navigation menu, it did not appear as a "Home", instead it should appear as some other text.

How will I change this text?

Best Answer

So, in order to Change the name of Home button go to:

wp-includes/post-template.php

Look for:

// Show Home in the menu
if ( isset($args['show_home']) && ! empty($args['show_home']) ) {
if ( true === $args['show_home'] || '1' === $args['show_home'] || 1 === $args['show_home'] )
$text = __('Home');

Do you see last "Home" text ? There you go, change it to whatever you want.

Related Topic