Change Breadcrumb Separator In Genesis Framework

Developers and professional bloggers got to purchase the Genesis framework for their WordPress blog. In this post, we will show you that how can you change breadcrumb separator in Genesis framework using simple code. At this time, a plugin method is also available. But while using the genesis, you must go with the coding method to learn more.

How To Change Breadcrumb Separator In Genesis Using Code?

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

Change Breadcrumb Separator In Genesis

make sure that you have activated the Genesis child theme and editing its files. Now, go to the functions file there.

genesis functions file

You may want to add this code to the file.

add_filter('genesis_breadcrumb_args', 'modify_separator_breadcrumbs');
function modify_separator_breadcrumbs($args) {
    $args['sep'] = ' >> ';
    return $args;
}

After adding the code, simply save the file.

add functions file code

Before adding the code, my website was showing the default breadcrumb separator.

breadcrumb separator

After adding the code, I have inserted a custom separator in the trail.

new genesis separator

That’s will be the new separator. If you haven’t seen the change, it is a problem with your browser’s cache. Try to clear cache and access the website again. In the other hand, you can try the website on private mode.

This is how you can change breadcrumb separator in Genesis Framework. We hope you enjoyed the post and found it useful. If you did, please consider sharing our article with your friends. Also, check our new post about changing footer credits in Genesis.

Leave a Reply