A powerful SEO feature of the Genesis Framework is the breadcrumb trail, which is a series of links that describe the hierarchy of each page.
By default, the breadcrumb trail displays at the top of the content column if it is turned on in your Theme Settings. However, Genesis makes it easy for you to move it to a different location that better suits your design, rewrite the function that outputs the breadcrumbs or remove the breadcrumbs altogether.
The function responsible for outputting the breadcrumb trail is
This function outputs the breadcrumbs under the circumstances that you configure in your Theme Settings. If a popular breadcrumbs or SEO plugin is active, it employs the plugin to output the breadcrumbs. If not, it uses the Genesis breadcrumbs structure.
genesis_do_breadcrumbs is hooked to
genesis_before_loop at the default priority 10.
Remove the Breadcrumbs
The basic code to remove the breadcrumbs from your website altogether is below. This will remove the breadcrumbs even if they are produced by one of the popular breadcrumbs or SEO plugins supported by Genesis.
You can add this code to your child theme functions to remove the breadcrumbs across your whole site, or to a child theme template to only remove them under certain circumstances.
Reposition the Breadcrumbs
The basic code to reposition the breadcrumbs to another hook is below. This will reposition the breadcrumbs even if they are produced by one of the popular breadcrumbs or SEO plugins supported by Genesis.
Rewrite the Breadcrumbs
The basic code to rewrite the breadcrumbs function is below. You could use this if your breadcrumbs plugin of choice is not one of the ones supported by Genesis.
Example 1: pop the breadcrumbs out of the content column.
Example 2: have another plugin produce the breadcrumbs.
The markup structure of the breadcrumb trail produced by Genesis is below. For the markup structure of breadcrumb trails produced by a plugin, consult the documentation for that plugin.
Genesis Simple Hooks
This function is not unhookable via Genesis Simple Hooks.
There are no filters on the output of this function.
genesis_do_breadcrumbs has been included since version 0.1.6.
genesis_do_breadcrumbs is located in lib/functions/breadcrumb.php.