Remove You Are Here Text From Genesis Breadcrumb

1 Shares

Last time, we have taught you how can you change the breadcrumb separator. Recently, one of our users asked that how can you remove you are here text from Genesis breadcrumb. In this post, we will show you the step by step guide to removing you are here text from Genesis.

How To Remove You Are Here Text From Genesis Using Code?

We will not recommend the plugin method if you are using Genesis framework. While using the framework, you must interact with codes to learn coding and its use. Here, we will show you the code to remove you are here text from genesis breadcrumb.

First of all, log in to your WordPress admin area and go to the theme editor.

Remove You Are Here Text From Genesis

Now, you need to edit the functions file of the website.

genesis functions file

You may want to copy, paste the below code in the functions file.

add_filter('genesis_breadcrumb_args', 'remove_breadcrumbs_yourarehere_text');
function remove_breadcrumbs_yourarehere_text( $args ) {
    $args['labels']['prefix'] = '';
    return $args;
}

After pasting the code, simply save the file.

remove you are here from genesis

Before adding the code to the functions file, my breadcrumb looks like

you are here text in genesis

After adding the snippet to the file, the breadcrumb will not show you are here text.

removed you are here text from genesis

This is how you can remove you are here text from Genesis Framework breadcrumb. We hope you enjoyed the post. If you did, please consider sharing our articles with your friends. Also, check our guide to remove footer credits in Genesis.

1 Shares

Leave a Reply