Change You Are Here Text In Genesis Framework

1 Shares

Most of us are using Genesis framework these days. Last day, we showed you that how can you remove you are here text from Genesis breadcrumb. We have noticed that some folks don’t need to remove it and need to add a custom text there. In this post, we will show you that how can you change you are here text in Genesis Framework to a custom one. We have already customized Genesis footer credits and breadcrumb separator.

At this time, there are 2 methods. One is using a plugin and the other is using a custom code snippet. Here, we will only recommend you coding method while you using the Genesis.

How To Change You Are Here Text In Genesis Using Code?

First of all, go to the theme editor.

genesis functions file

There, choose the functions file.

Change You Are Here Text In Genesis

Now, you need to add the below code to your functions file.

add_filter('genesis_breadcrumb_args', 'change_breadcrumbs_text');
function change_breadcrumbs_text( $args ) {
    $args['labels']['prefix'] = 'Are You Lost? ';
    return $args;
}

After adding the code, don’t forget to save the file.

change you are here text

Now, check your website.

custom you are here text

If you haven’t seen the change, it is a problem with your browser cache. Clear cache of your website, Cloudflare and check it. Or, you can check the website in the private window. This is how you can remove you are here text in Genesis framework. We hope you found this tutorial helpful. If it is, please consider sharing this tutorial with your friends. For more related topics, check our blog.

1 Shares

Leave a Reply