', esc_url( home_url( '/' ) ), esc_url( $logo_image ) ); } else { $tag = is_home() ? 'h1' : 'p'; $html .= '<' . esc_attr( $tag ) . ' class="site-title">' . esc_html( get_bloginfo( 'name' ) ) . ''; $description = get_bloginfo( 'description', 'display' ); if ( $description || is_customize_preview() ){ $html .= '

' . esc_html( $description ) . '

'; } } if ( ! $echo ) { return $html; } echo $html; } } if ( ! function_exists( 'shapla_primary_navigation' ) ) { /** * Display Primary Navigation * * @since 1.0.0 * @return void */ function shapla_primary_navigation() { ?>
| Sayful Islam' ); ?>
the_title_attribute( 'echo=0' ) ) ); ?> '; // Hide category and tag text for pages. if ( 'post' === get_post_type() ) { ?>
%2$s'; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { $time_string = ''; } $time_string = sprintf( $time_string, esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_attr( get_the_modified_date( 'c' ) ), esc_html( get_the_modified_date() ) ); echo '
'. esc_attr( __( 'Posted on ', 'shapla' ) ) .'
' . $time_string . '
'; /* translators: used between list items, there is a space after the comma */ $categories_list = get_the_category_list( esc_html__( ' ', 'shapla' ) ); if ( $categories_list ) { printf( '', $categories_list ); // WPCS: XSS OK. } /* translators: used between list items, there is a space after the comma */ $tags_list = get_the_tag_list( '', esc_html__( ', ', 'shapla' ) ); if ( $tags_list ) { printf( '', $tags_list ); // WPCS: XSS OK. } } if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) { echo ''; } edit_post_link( sprintf( /* translators: %s: Name of current post */ esc_html__( 'Edit %s', 'shapla' ), the_title( '"', '"', false ) ), '' ); echo ''; } endif; if( ! function_exists( 'shapla_page_header' ) ): /** * Display the page header with a link to the single post * * @since 1.0.0 */ function shapla_page_header() { ?>
', '' ); ?>
'', ) ); ?>
', '' ); else : the_title( '

', '

' ); endif; ?>
→', 'shapla' ), array( 'span' => array( 'class' => array() ) ) ), the_title( '"', '"', false ) ) ); do_action( 'shapla_post_content_after' ); wp_link_pages( array( 'before' => '', ) ); ?>
__( '«', 'shapla' ), 'next_text' => __( '»', 'shapla' ) ) ); } endif;