File "comments.php"

Full Path: /home/londdqdw/public_html/06/wp-content/themes/spyn/comments.php
File size: 1.39 KB
MIME-type: text/x-php
Charset: utf-8

<?php if( function_exists('nicdark_comments')){ do_action("nicdark_comments_nd"); }else{ ?>

<?php if ( post_password_required() ) { return; } ?>

<?php if ( have_comments() ) : ?>

	<!--START comment-->
    <div id="nicdark_comments" class="nicdark_section nicdark_margin_top_50">

		<h3><strong><?php comments_number(esc_html__('No Comments','spyn'),esc_html__('One Comment','spyn'),esc_html__( '% Comments','spyn') );?></strong></h3>
		
		<div class="nicdark_section nicdark_height_10"></div>
	
		<ul class="nicdark_comments_ul nicdark_comments_php">
			<?php wp_list_comments(); ?>
		</ul>

		<!--start navigation comment-->
		<div class="navigation">
			<div class="alignleft"><?php previous_comments_link() ?></div>
			<div class="alignright"><?php next_comments_link() ?></div>
		</div>
		<!--end navigation comment-->

		<?php if ( comments_open() ) : ?>
			
			<!--START comment form-->
		    <div id="nicdark_comments_form" class="nicdark_section nicdark_margin_top_10 nicdark_border_top_1_solid_grey nicdark_padding_top_30">
				<?php comment_form(); ?>
			</div>
			<!--END comment form-->

		<?php endif; ?>


	</div>
    <!--END comment-->

<?php else : ?>
	
	
	<?php if ( comments_open() ) : ?>

		<!--START comment form-->
	    <div id="nicdark_comments_form" class="nicdark_section nicdark_margin_top_20">
			<?php comment_form(); ?>
		</div>
		<!--END comment form-->

	<?php endif;


endif; ?>

<?php } ?>