Created
June 14, 2013 13:48
-
-
Save WebEndevSnippets/5781927 to your computer and use it in GitHub Desktop.
Genesis: Add Breadcrumbs to Select Pages
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
add_action( 'genesis_before', 'webendev_add_breadcrumbs' ); | |
/** | |
* Add Breadcrumbs to Select Pages | |
*/ | |
function webendev_add_breadcrumbs() { | |
if( ! is_page( 793 ) ) { | |
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment