If you have breadcrumbs enabled in your StudioPress Genesis theme, you may want to move or reposition the WordPress breadcrumbs. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to move the breadcrumbs to another location.
/** * Move breadcrumbs to another location * * @author WPSnacks.com * @link https://www.wpsnacks.com */ remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' ); add_action( 'INSERT_GENESIS_HOOK_HERE', 'genesis_do_breadcrumbs' );
Be sure you change the “INSERT_GENESIS_HOOK_HERE” text above with the appropriate Genesis Hook for the location you want the breadcrumb to go. Be sure the Genesis Hook you use is the right one so it does not cause any problems with your site. That’s it, now your breadcrumbs should be moved to the new location you set with the Genesis Hook you added. Hope this helps, enjoy!
Leave a Reply