<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?> ' . get_the_author() . '' ); /* Since we called the_post() above, we need to * rewind the loop back to the beginning that way * we can run the loop properly, in full. */ rewind_posts(); elseif ( is_day() ) : $bikaro_header_title = sprintf( __( 'Day: %s', 'bikaro' ), '' . get_the_date() . '' ); elseif ( is_month() ) : $bikaro_header_title = sprintf( __( 'Month: %s', 'bikaro' ), '' . get_the_date( 'F Y' ) . '' ); elseif ( is_year() ) : $bikaro_header_title = sprintf( __( 'Year: %s', 'bikaro' ), '' . get_the_date( 'Y' ) . '' ); elseif ( is_tax( 'post_format', 'post-format-aside' ) ) : $bikaro_header_title = __( 'Asides', 'bikaro' ); elseif ( is_tax( 'post_format', 'post-format-image' ) ) : $bikaro_header_title = __( 'Images', 'bikaro'); elseif ( is_tax( 'post_format', 'post-format-video' ) ) : $bikaro_header_title = __( 'Videos', 'bikaro' ); elseif ( is_tax( 'post_format', 'post-format-quote' ) ) : $bikaro_header_title = __( 'Quotes', 'bikaro' ); elseif ( is_tax( 'post_format', 'post-format-link' ) ) : $bikaro_header_title = __( 'Links', 'bikaro' ); elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) : $bikaro_header_title = __( 'Gallery', 'bikaro' ); elseif ( is_tax( 'post_format', 'post-format-chat' ) ) : $bikaro_header_title = __( 'Chat', 'bikaro' ); elseif ( is_tax( 'post_format', 'post-format-audio' ) ) : $bikaro_header_title = __( 'Audio', 'bikaro' ); elseif ( is_tax( 'post_format', 'post-format-status' ) ) : $bikaro_header_title = __( 'Status', 'bikaro' ); else : $bikaro_header_title = __( 'Archives', 'bikaro' ); endif; } elseif( is_404() ) { $bikaro_header_title = __( 'Page NOT Found', 'bikaro' ); } elseif( is_search() ) { $bikaro_header_title = __( 'Search Results', 'bikaro' ); } elseif( is_page() ) { $bikaro_header_title = get_the_title(); } elseif( is_single() ) { $bikaro_header_title = get_the_title(); } elseif( is_home() ){ $queried_id = get_option( 'page_for_posts' ); $bikaro_header_title = get_the_title( $queried_id ); } else { $bikaro_header_title = ''; } return $bikaro_header_title; } endif; /****************************************************************************************/ if ( ! function_exists( 'bikaro_breadcrumb' ) ) : /** * Display breadcrumb on header. * * If the page is home or front page, slider is displayed. * In other pages, breadcrumb will display if breadcrumb NavXT plugin exists. */ function bikaro_breadcrumb() { if( function_exists( 'bcn_display' ) ) { echo ' '; } } endif; ?>