', 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() { ?>

Search

| Sayful Islam' ); ?>
the_title_attribute( 'echo=0' ) ) ); ?> '; // Hide category and tag text for pages. if ( 'post' === get_post_type() ) { if ( $show_author_avatar || $show_author_name ) { echo '
'; if( $show_author_avatar ) { echo '
' . get_avatar( get_the_author_meta( 'ID' ), 96 ) . '
'; } if( $show_author_name ) { echo '
' . esc_attr( __( 'Posted by ', 'shapla' ) ) . '
'; echo '' . esc_html( get_the_author() ) . ''; } echo '
'; } if ( $show_date ) { $time_string = ''; 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_html__('Posted on ', 'shapla' ) .'
' . $time_string . '
'; } if ( $show_category_list ) { /* 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. } } if ( $show_tag_list ) { /* 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() ) ) { if ( $show_comments_link ) { 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() { global $post; $hide_title = get_post_meta( $post->ID, '_shapla_hide_page_title', true ); if ( $hide_title == 'on') { return; } ?>
', '' ); ?>
'', ) ); ?>
', '' ); 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;