Last active
August 29, 2015 14:01
-
-
Save iamkingsleyf/6eae2bfcf08cd1bca140 to your computer and use it in GitHub Desktop.
agency-pro breadcrumbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* 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 ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to Reposition Breadcrumbs in Agency Pro Child Theme
http://geekized.net/how-to-reposition-breadcrumbs-in-agency-pro-child-theme.html