Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/WP/Custom Breadcrumbs

September 13, 2020

Custom Breadcrumbs

I’ve customized my breadcrumbs. Add code to functions.php.

add_filter('genesis_breadcrumb_args', 'customize_breadcrumbs');
function customize_breadcrumbs($args) {
    $args['labels']['prefix'] = 'Home';
    $args['home'] = '';
    $args['sep'] = '/';
    return $args;
}

add_filter('genesis_breadcrumb_args', 'customize_breadcrumbs'); function customize_breadcrumbs($args) { $args['labels']['prefix'] = 'Home'; $args['home'] = ''; $args['sep'] = '/'; return $args; }

Now it doesn’t say Home/Home on the front page.

Filed Under: WP Tagged With: breadcrumbs, customize, wordpress

Have content delivered to your mail. Subscribe below.

About Me

I'm Ulysses, Cloud Engineer at Cardinal Health based in Columbus. This blog is about Linux and Cloud technology. When off the grid, I enjoy riding my electric skateboard. I've surfed, snowboarded and played the saxophone in the past. I hope you find this website helpful. It's powered by WordPress and hosted on AWS LightSail.

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021