Ejemplo n.º 1
0
		</h2>

		<?php 
    twentyfifteen_comment_nav();
    ?>


		<ol class="comment-list">
			<?php 
    wp_list_comments(array('style' => 'ol', 'short_ping' => true, 'avatar_size' => 56));
    ?>

		</ol><!-- .comment-list -->

		<?php 
    twentyfifteen_comment_nav();
    ?>


	<?php 
}
// have_comments()
?>


	<?php 
// If comments are closed and there are comments, let's leave a little note, shall we?
if (!comments_open() && get_comments_number() && post_type_supports(get_post_type(), 'comments')) {
    ?>

		<p class="no-comments"><?php 
Ejemplo n.º 2
0
			?>
		</h2>

		<?php twentyfifteen_comment_nav(); ?>

		<ol class="comment-list">
			<?php
				wp_list_comments( array(
					'style'       => 'ol',
					'short_ping'  => true,
					'avatar_size' => 56,
				) );
			?>
		</ol><!-- .comment-list -->

		<?php twentyfifteen_comment_nav(); ?>

	<?php endif; // have_comments() ?>

	<?php
		// If comments are closed and there are comments, let's leave a little note, shall we?
		if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
	?>
		<p class="no-comments"><?php _e( 'Comments are closed.', 'twentyfifteen' ); ?></p>
	<?php endif; ?>

	<?php comment_form(); ?>

</div><!-- .comments-area -->
>>>>>>> b875702c9c06ab5012e52ff4337439b03918f453