'', 'home' => esc_html__( 'Home', 'xstore' ), 'showCurrent' => 0, 'before' => '', 'after' => '', 'title_tag' => get_theme_mod('breadcrumb_title_tag', 'h1'), 'category_title_tag' => get_theme_mod('breadcrumb_category_title_tag', 'h1'), ); if ( !$args['title_tag'] ){ $args['title_tag'] = 'h1'; } if ( !$args['category_title_tag'] ){ $args['category_title_tag'] = 'h1'; } $post_page = get_option( 'page_for_posts' ); $title_at_end = ( ! empty( $post_page ) ) ? '' . esc_html__( 'Blog', 'xstore' ) . '' : ''; $homeLink = home_url(); $xstore_title = ''; $html = ''; if( is_home() ) { if( empty( $post_page ) && ! get_query_var('et_is-single', false) && ! is_page() ) $xstore_title = esc_html__( 'Blog', 'xstore' ); $xstore_title = get_the_title( $post_page ); } if ( is_front_page() ) { $xstore_title = ""; // do_action( 'etheme_before_breadcrumbs' ); // echo '

'.$args['home'].'

'; // do_action( 'etheme_after_breadcrumbs' ); } else if ( class_exists( 'bbPress' ) && is_bbpress() ) { $xstore_title = esc_html__( 'Forums', 'xstore' ); $bbp_args = array( 'before' => '' ); bbp_breadcrumb($bbp_args); } else { $html .= ''; $xstore_title = apply_filters('etheme_breadcrumbs_page_title', $xstore_title ); $html .= ' <' . $args['title_tag'] . ' class="title">' . $xstore_title . ''; do_action( 'etheme_before_breadcrumbs' ); echo $html; // All data escaped do_action( 'etheme_after_breadcrumbs' ); }