Home button name change… again!
-
Hello folks,
My query regards specifically changing the text name of the “Home” button on my blog (the Spanish version) which is Meaning of Life
It seems that many people have tried to do this in the past with the crux being that it depends on the set-up of the theme which I have learned after reading a range of varied suggestions. My conclusion (could easily be wrong but where I am thus far) is that I would need to change the so-called hard code in the functions.php file. If so, really no idea what to do here.
I have looked at all kinds of possibilities but the code often suggested as the place to make my required change either is not there or in one case to my surprise did not work.
My first try was to change the ‘Home’ text in this following code in my post-template.php file and this was my surprise that it didn’t work
// 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’);My header.php file contains this code :
[Code moderated as per the Forum Rules. Please use the pastebin]
- The topic ‘Home button name change… again!’ is closed to new replies.