* The Template for displaying all single posts.
*
* @package sparkling
*/
get_header(); ?>
while ( have_posts() ) : the_post();
get_template_part( 'content', 'single' );
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
endif;
the_post_navigation( array(
'next_text' => '%title ',
'prev_text' => ' %title',
'in_same_term' => true,
) );
endwhile; // end of the loop.
?>
get_sidebar();
get_footer();
Ek Olarak: kardeş bu single php dosyası