1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 
add_filter('genesis_breadcrumb_args', 'custom_breadcrumbs_labels');
 
function custom_breadcrumbs_labels( $args ) {
  $args['labels']['prefix'] = '';
  return $args;
}
 
/*
Default arguments:
 
$this->args = array(
		'home'                    => __( 'Home', 'genesis' ),
		'sep'                     => 
                'list_sep'                => ', ',
		'prefix'                  => '<div class="breadcrumb">',
		'suffix'                  => '</div>',
		'heirarchial_attachments' => true,
		'heirarchial_categories'  => true,
		'labels' => array(
				'prefix'    => __( 'You are here: ', 'genesis' ),
				'author'    => __( 'Archives for ', 'genesis' ),
				'category'  => __( 'Archives for ', 'genesis' ),
				'tag'       => __( 'Archives for ', 'genesis' ),
				'date'      => __( 'Archives for ', 'genesis' ),
				'search'    => __( 'Search for ', 'genesis' ),
				'tax'       => __( 'Archives for ', 'genesis' ),
				'post_type' => __( 'Archives for ', 'genesis' ),
				'404'       => __( 'Not found: ', 'genesis' ) 
                            )
                  );
 
*/
How to change Genesis breadcrumbs
Tagged on:

One thought on “How to change Genesis breadcrumbs

Leave a Reply

Your email address will not be published. Required fields are marked *