I have very limited coding knowledge, would you be king enough to have a quick look at my comments.php code here and see if you find the issue at first reading? ??
Thank you!!
<?php
// Do not delete these lines
if (!empty($_SERVER[‘SCRIPT_FILENAME’]) && ‘comments.php’ == basename($_SERVER[‘SCRIPT_FILENAME’]))
die (‘Please do not load this page directly. Thanks!’);
if ( post_password_required() ) { ?>
<p class=”nocomments”>This post is password protected. Enter the password to view comments.</p>
<?php
return;
}
?>
<!– You can start editing here. –>
<div class=”three-fourth last”>
<?php comment_form(); ?>
<div class=”big-separator”></div>
<?php if ( have_comments() ) : ?>
<?php wp_list_comments(‘max_depth=3&callback=mytheme_comment’); ?>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ( comments_open() ) : ?>
<!– If comments are open, but there are no comments. –>
<?php else : // comments are closed ?>
<!– If comments are closed. –>
<p class=”nocomments”>Comments are closed.</p>
<?php endif; ?>
<?php endif; ?>
</div>
<div class=”clear”></div>
<?php if ( comments_open() ) : ?>
<div id=”respond”>
<div class=”span-16 last”>
<div class=”dot-separator margin15″></div>
<!— replace comment_form(); –>
<?php paginate_comments_links(‘prev_text=<<&next_text=>>’); ?>
<div class=”cancel-comment-reply”>
<small><?php cancel_comment_reply_link(); ?></small>
</div>
<?php if ( get_option(‘comment_registration’) && !is_user_logged_in() ) : ?>
<p>You must be “>logged in to post a comment.</p>
<?php else : ?>
<div class=”post_comment last” style=”
display: none;
“>
<?php if ( is_user_logged_in() ) : ?>
<p style=”margin-bottom:18px;”>Connecté en tant que /wp-admin/profile.php”><?php echo $user_identity; ?>. ” title=”Se déconnecter”>Se déconnecter »</p>
<?php else : ?>
<div class=”span-8 form”>
<fieldset>
</fieldset>
</div>
<div class=”span-8 form last”>
<fieldset>
</fieldset>
</div>
<?php endif; ?>
<p><?php comment_id_fields(); ?></p>
<?php do_action(‘comment_form’, $post->ID); ?>
</div>
</form>
<?php endif; // If registration required and not logged in ?>
</div>
</div>
<?php endif; // if you delete this the sky will fall on your head ?>