Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ach_bp_breadcrumb( $last_part = '' ){
- $id = bp_displayed_user_id();
- $user = get_userdata( $id );
- ?>
- <div id="bp_breadcrumb">
- <a href="<?php bloginfo('siteurl')?>" title="Go to Home.">Home</a> /
- <a href="<?php bloginfo('siteurl')?>/meet-the-drink-experts/" title="Meet the Drink Experts">Meet the Drink Experts</a> <?php ( $last_part == '/' ) ? print('') : print(' / ') ; ?>
- <?php
- if( $last_part ){
- echo $last_part;
- }
- else{
- echo $user->display_name ;
- }
- ?>
- </div>
- <?php
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement