Change The Home Text In Genesis Breadcrumb

2 Shares

Recently, we have shared the method to change breadcrumb separator, modifying you are here text, removing you are here text. In this post, we will show you that how can you change the home text in Genesis Framework.

Change The Home Text In Genesis

Some folks really need to remove the home text and add some custom text. If you are one of those, this post is for you. At this time, there are two methods for this. One is using a plugin and one is without using a plugin. Without using plugin means using custom codes. In this post, we will share the genesis snippet for modifying the home text.

How To Change The Home Text In Genesis Using Code?

First of all, you need to login to your WordPress admin and go to the theme editor. After that, choose the functions file there.

genesis functions file

Now, you may want to add this piece of code to the functions file.

add_filter('genesis_breadcrumb_args', 'modify_home_text_breadcrumbs');
function modify_home_text_breadcrumbs($args) {
    $args['home'] = 'AprilEgg: ';
    return $args;
}

Don’t forget to save the changes.

modify genesis home text

Now, check your website again. You can see the new custom home text in the breadcrumb trail.

Change The Home Text In Genesis

If you hevn’t seen the changes, it is a simple browser caching problem. You may want to clear the WordPress and browser cache to see the changes. Also, try to check the website in private mode.

This is how you can change the home text in Genesis. We hope you enjoyed the read and found it helpful. If you did, please consider sharing this post with your friends. We would love to see that and will share more related posts.

2 Shares

Leave a Reply