' . $logo . '' : $logo; } elseif ( function_exists( 'jetpack_has_site_logo' ) && jetpack_has_site_logo() ) { // Copied from jetpack_the_site_logo() function. $logo = site_logo()->logo; $logo_id = get_theme_mod( 'custom_logo' ); // Check for WP 4.5 Site Logo $logo_id = $logo_id ? $logo_id : $logo['id']; // Use WP Core logo if present, otherwise use Jetpack's. $size = site_logo()->theme_size(); $html = sprintf( '', esc_url( home_url( '/' ) ), wp_get_attachment_image( $logo_id, $size, false, array( 'class' => 'site-logo attachment-' . $size, 'data-size' => $size, 'itemprop' => 'logo' ) ) ); $html = apply_filters( 'jetpack_the_site_logo', $html, $logo, $size ); } else { $tag = is_front_page() ? 'h1' : 'h2'; $html = '<' . esc_attr( $tag ) . ' class="site-title">' . esc_html( get_bloginfo( 'name' ) ) . ''; if ( '' !== get_bloginfo( 'description' ) ) { $html .= '

' . esc_html( get_bloginfo( 'description', 'display' ) ) . '

'; } } if ( ! $echo ) { return $html; } echo $html; } } if ( ! function_exists( 'azauthority_toggle_search_icon' ) ) { /** * Search icon * * @since 1.0.0 * @return void */ function azauthority_toggle_search_icon() { ?>
>
', '' ); ?>
%2$s'; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { $time_string = ''; } $categories_list = get_the_category_list( esc_html__( ', ', 'azauthority' ) ); $tags_list = get_the_tag_list( '', esc_html__( ', ', 'azauthority' ) ); $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() ) ); $posted_on = sprintf( esc_html_x( '%s', 'post date', 'azauthority' ), '' . $time_string . '' ); $byline = sprintf( esc_html_x( '%s', 'post author', 'azauthority' ), '' . esc_html( get_the_author() ) . '' ); echo apply_filters( 'azauthority_posted_on', ' ' . $byline . ' ' . $posted_on . ' '); // WPCS: XSS OK. if ( $categories_list ) { printf( '' . esc_html__( ' %1$s ', 'azauthority' ) . ' ', $categories_list ); // WPCS: XSS OK. } if ( $tags_list ) { printf( '' . esc_html__( ' %1$s ', 'azauthority' ) . ' ', $tags_list ); // WPCS: XSS OK. } } endif; if ( ! function_exists( 'azauthority_post_content' ) ) { /** * Display the post content with a link to the single post * * @since 1.0.0 */ function azauthority_post_content() { $excerpt = apply_filters( 'azauthority_post_content_excerpt', true ); ?>
' . get_the_title() . '' ) ); } do_action( 'azauthority_post_content_after' ); wp_link_pages( array( 'before' => '', ) ); ?>
%2$s

', esc_url( get_permalink( get_the_ID() ) ), /* translators: %s: Name of current post */ sprintf( __( 'Continue reading "%s"', 'azauthority' ), get_the_title( get_the_ID() ) ) ); $button = print_r( $link ); return ' … ' . $button; } endif; if ( ! function_exists( 'azauthority_single_post_header' ) ) { function azauthority_single_post_header() { $header_bg = azauthority_enable_single_header_bg(); ?>
', '' ); ?>
'; } } if ( ! function_exists( 'azauthority_post_single_content' ) ) { /** * Display the post content with a link to the single post * * @since 1.0.0 */ function azauthority_post_single_content() { ?>
' . get_the_title() . '' ) ); do_action( 'azauthority_post_single_content_after' ); wp_link_pages( array( 'before' => '', ) ); ?>
'%title', 'prev_text' => '%title', ); $enable_postnav = apply_filters('azauthority_enable_postnav', true); if ( $enable_postnav ) { the_post_navigation( $args ); } } } if ( ! function_exists( 'azauthority_inner_wrapper_close' ) ) { /** * The inner wrapper */ function azauthority_inner_wrapper_close() { echo ''; } } if ( ! function_exists( 'azauthority_paging_nav' ) ) : /** * Display navigation to next/previous set of posts when applicable. */ function azauthority_paging_nav() { the_posts_pagination( array( 'prev_text' => __( '', 'azauthority' ), 'next_text' => __( '', 'azauthority' ), 'before_page_number' => '' . __( 'Page', 'azauthority' ) . ' ', ) ); } endif;