mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-14 23:21:07 +01:00
48 lines
1.2 KiB
PHP
48 lines
1.2 KiB
PHP
<?php
|
|
/**
|
|
* Theme: silverOrchid
|
|
* Theme URL: http://gazpo.com/2012/04/silverorchid
|
|
* Created: April 2012
|
|
* Author: Sami Ch.
|
|
* URL: http://gazpo.com
|
|
*
|
|
**/
|
|
?>
|
|
|
|
<div id="comments">
|
|
|
|
<?php if ( post_password_required() ) : ?>
|
|
<p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'silverorchid' ); ?></p>
|
|
</div><!-- /comments -->
|
|
<?php
|
|
return;
|
|
endif;
|
|
?>
|
|
|
|
<?php if ( have_comments() ) : ?>
|
|
|
|
<h3 class="title">
|
|
<?php printf( _n( 'One comment on “%2$s”', '%1$s comments on “%2$s”', get_comments_number(), 'silverorchid' ), number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' ); ?>
|
|
</h3>
|
|
|
|
<ol class="commentlist">
|
|
<?php wp_list_comments('avatar_size=32'); ?>
|
|
</ol>
|
|
|
|
<div class="navigation">
|
|
<?php paginate_comments_links(); ?>
|
|
</div>
|
|
|
|
<?php else : // or, if we don't have comments:
|
|
|
|
if ( ! comments_open() ) :
|
|
?>
|
|
<p class="nocomments"><?php _e( 'Comments are closed.', 'silverorchid' ); ?></p>
|
|
|
|
<?php endif; // end ! comments_open() ?>
|
|
|
|
<?php endif; // end have_comments() ?>
|
|
|
|
<?php comment_form(); ?>
|
|
|
|
</div>
|