wordpress - Remove current page from WP Genesis breadcrumbs -


how can remove current page breadcrumbs trail on genesis wordpress site? i've examined breadcrumb.php top bottom, not sure filter(s) should hook into.

thanks!

bill erickson has snippet remove post title. may worth shot remove current page title well:

function be_remove_title_from_single_crumb( $crumb, $args ) {     return substr( $crumb, 0, strrpos( $crumb, $args['sep'] ) ); } add_filter( 'genesis_single_crumb', 'be_remove_title_from_single_crumb', 10, 2 ); 

http://www.billerickson.net/code/remove-post-title-from-breadcrumb/

i'm suprised there isn't more information out there this.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -