Skip to content

Instantly share code, notes, and snippets.

@iamkingsleyf
Last active August 29, 2015 14:01
Show Gist options
  • Save iamkingsleyf/6eae2bfcf08cd1bca140 to your computer and use it in GitHub Desktop.
Save iamkingsleyf/6eae2bfcf08cd1bca140 to your computer and use it in GitHub Desktop.
agency-pro breadcrumbs
//* Reposition breadcrumbs from before .entry to inside .entry (above title) on single Posts and static Pages
add_action( 'genesis_before_content', 'sk_reposition_breadcrumbs' );
function sk_reposition_breadcrumbs() {
if ( is_singular() ) {
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
add_action( 'genesis_entry_header', 'genesis_do_breadcrumbs', 9 );
}
}
@iamkingsleyf
Copy link
Author

How to Reposition Breadcrumbs in Agency Pro Child Theme

http://geekized.net/how-to-reposition-breadcrumbs-in-agency-pro-child-theme.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment