' . get_the_title() . '' ) ); wp_link_pages( array( 'before' => '', ) ); ?>
' . esc_html__( 'Tagged %1$s', 'shop-isle' ) . '', $tags_list ); // WPCS: XSS OK. } ?>
'; ?> 'list', 'next_text' => __( 'Next', 'shop-isle' ) . ' ', 'prev_text' => ' ' . __( 'Previous', 'shop-isle' ), ); the_posts_pagination( $args ); */ } } if ( ! function_exists( 'shop_isle_post_nav' ) ) { /** * Display navigation to next/previous post when applicable. */ function shop_isle_post_nav() { $args = array( 'next_text' => '%title  ', 'prev_text' => ' %title', ); the_post_navigation( $args ); } } if ( ! function_exists( 'shop_isle_posted_on' ) ) { /** * Prints HTML with meta information for the current post-date/time and author. */ function shop_isle_posted_on() { $shop_isle_post_author = get_the_author(); if( !empty($shop_isle_post_author) ): echo __('By ','shop-isle').'' . esc_html( get_the_author() ).' | '; endif; $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() ) ); if( !empty($time_string) ): echo '' . $time_string . ' | '; endif; $shop_isle_num_comments = get_comments_number(); if ( $shop_isle_num_comments == 0 ) { $shop_isle_comments = __('No Comments', 'shop-isle'); } elseif ( $shop_isle_num_comments > 1 ) { $shop_isle_comments = $shop_isle_num_comments . __(' Comments','shop-isle'); } else { $shop_isle_comments = __('1 Comment','shop-isle'); } if( !empty($shop_isle_comments) ): echo ''. esc_attr($shop_isle_comments).' | '; endif; $shop_isle_categories = get_the_category(); $separator = ', '; $shop_isleoutput = ''; if($shop_isle_categories){ foreach($shop_isle_categories as $shop_isle_category) { $shop_isleoutput .= 'name ) ) . '">'.esc_html($shop_isle_category->cat_name).''.$separator; } echo trim($shop_isleoutput, $separator); } } }