Title: problematic23's Replies | WordPress.org

---

# problematic23

  [  ](https://wordpress.org/support/users/problematic23/)

 *   [Profile](https://wordpress.org/support/users/problematic23/)
 *   [Topics Started](https://wordpress.org/support/users/problematic23/topics/)
 *   [Replies Created](https://wordpress.org/support/users/problematic23/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/problematic23/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/problematic23/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/problematic23/engagements/)
 *   [Favorites](https://wordpress.org/support/users/problematic23/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/users/problematic23/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/problematic23/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments box not showing up on new posts — why?](https://wordpress.org/support/topic/comments-box-not-showing-up-on-new-posts-why/)
 *  Thread Starter [problematic23](https://wordpress.org/support/users/problematic23/)
 * (@problematic23)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/comments-box-not-showing-up-on-new-posts-why/#post-1211469)
 * Hahah, I think I’m going to leave that one closed, otherwise people will think
   it’s some randomly unpopular article, and that’ll drive me nuts. 😉
 * I’d like to thank you in my next entry — credit to alism? Any page you want me
   to link to or anything?
 * Seriously, thanks again! Hopefully someone else who has this problem will see
   this message in the future!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments box not showing up on new posts — why?](https://wordpress.org/support/topic/comments-box-not-showing-up-on-new-posts-why/)
 *  Thread Starter [problematic23](https://wordpress.org/support/users/problematic23/)
 * (@problematic23)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/comments-box-not-showing-up-on-new-posts-why/#post-1211461)
 * Oh my GOD!
 * It worked, it worked!
 * Thank you SO much — I’ve bee sweating over this since Friday night!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments box not showing up on new posts — why?](https://wordpress.org/support/topic/comments-box-not-showing-up-on-new-posts-why/)
 *  Thread Starter [problematic23](https://wordpress.org/support/users/problematic23/)
 * (@problematic23)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/comments-box-not-showing-up-on-new-posts-why/#post-1211457)
 * Oooh, thank you!
 * But on which php should I be adding this? 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments box not showing up on new posts — why?](https://wordpress.org/support/topic/comments-box-not-showing-up-on-new-posts-why/)
 *  Thread Starter [problematic23](https://wordpress.org/support/users/problematic23/)
 * (@problematic23)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/comments-box-not-showing-up-on-new-posts-why/#post-1211436)
 * Sorry about that.
 * I have checked single.php and that code is within it.
 * I have a feeling the code you posted is missing somewhere on another critical
   php file. Perhaps one that was edited to make the newly-paged comment organization
   look right. Would you or anyone have an idea which file I should be looking for
   to see that?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments form not showing – strange situation.](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/)
 *  Thread Starter [problematic23](https://wordpress.org/support/users/problematic23/)
 * (@problematic23)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/page/2/#post-1210377)
 * No problem, thank you for trying!
 * I am also curious if there is a way for me to add a comment to one of these new
   entries manually? I wonder if the problem with (at least temporarily) self-correct
   if I can somehow stick a comment on one of those entries through the backend.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments form not showing – strange situation.](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/)
 *  Thread Starter [problematic23](https://wordpress.org/support/users/problematic23/)
 * (@problematic23)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/page/2/#post-1210371)
 * Does anyone know of any issue that would cause posts that have no comments to
   not include the option to add a new comment?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments form not showing – strange situation.](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/)
 *  Thread Starter [problematic23](https://wordpress.org/support/users/problematic23/)
 * (@problematic23)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/page/2/#post-1210368)
 * It would seem that you are correct. The comments functionality seems fine, but
   for whatever reason, something in the coding is not calling for a comments box
   on posts that have zero comments. I’m not sure what exactly, though. 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments form not showing – strange situation.](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/)
 *  Thread Starter [problematic23](https://wordpress.org/support/users/problematic23/)
 * (@problematic23)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/page/2/#post-1210364)
 * Here is my comments.php file:
 *     ```
       <?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() ) {
       	echo '<p class="nocomments">This post is password protected. Enter the password to view comments.</p>';
       	return;
       }
       		/* This variable is for alternating comment background */
       		$oddcomment = 'alt';
       ?>
   
       <!-- You can start editing here. -->
       	<div align="center"><?php if ($comments) : ?><a name="comments"></a><BR /><span style="font-weight: bold; font-family: arial; font-size: 16px">Discussion Thread: <?php comments_number('no comments', '1 comment', '% comments' );?></div></span> <hr>
       <div style="text-align:center";>
       <?php paginate_comments_links(); ?>
       </div>
       	<?php if ( have_comments() ) : ?>
   
       <?php wp_list_comments('type=comment&callback=mytheme_comment'); ?>
   
       <div style="text-align:center";>
       <?php paginate_comments_links(); ?>
       </div>
       <?php else : // this is displayed if there are no comments so far ?>
       	<?php if ('open' == $post->comment_status) :
       		// If comments are open, but there are no comments.
       	else : // comments are closed
       	endif;
       endif;
       ?>
   
       <h3 id="respond">Add A New Comment!</h3>
   
       <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
   
       <p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p>
   
       <?php else : ?>
   
       <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
   
       <?php if ( $user_ID ) : ?>
   
       <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a> [<a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout</a>]</p>
   
       <?php else : ?>
   
       <!--<p><a href="http://x-entertainment.com/wordpress/wp-register.php" title="Register">Click Here To Register &raquo;</a></p>-->
   
       <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
   
       <label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p>
   
       <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
   
       <label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>
   
       <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
   
       <label for="url"><small>Website</small></label></p>
   
       <?php endif; ?>
   
       <!--<p><small><strong>XHTML:</strong> You can use these tags: <?php echo allowed_tags(); ?></small></p>-->
   
       <p><textarea name="comment" id="comment" cols="58%" rows="8" tabindex="4"></textarea></p>
   
       <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
   
       <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
   
       </p>
   
       <?php do_action('comment_form', $post->ID); ?>
   
       </form>
   
       <?php endif; // If registration required and not logged in ?>
   
       <?php endif; // if you delete this the sky will fall on your head ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments form not showing – strange situation.](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/)
 *  Thread Starter [problematic23](https://wordpress.org/support/users/problematic23/)
 * (@problematic23)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/page/2/#post-1210363)
 * If it’s any help, I am certain that the problem arose as a result of the tinkering
   my coding helper made yesterday — which was using the standard WP comments “paging”
   function, for the most part. While I understand that paging comments only takes
   a click, I wonder if he accidentally washed away something while editing how 
   those pages would be organized on the site.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments form not showing – strange situation.](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/)
 *  Thread Starter [problematic23](https://wordpress.org/support/users/problematic23/)
 * (@problematic23)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/page/2/#post-1210361)
 * Here you go! Hope these backticks work, I’m a first timer…
 *     ```
       <?php get_header(); ?>
   
       	<div id="content" class="narrowcolumn">
   
           <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
   
       		<div class="post" id="post-<?php the_ID(); ?>">
   
       		<h2><?php the_title(); ?></h2>
   
       			<div class="entry">
   
       				<?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
   
       				<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
   
       			</div>
   
       		</div>
   
       	  <?php endwhile; endif; ?>
   
       	<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
   
       	</div>
   
       <?php get_footer(); ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments form not showing – strange situation.](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/)
 *  Thread Starter [problematic23](https://wordpress.org/support/users/problematic23/)
 * (@problematic23)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/#post-1210360)
 * Sure, let me get that out now and figure out backticks — thank you so much for
   your help!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments form not showing – strange situation.](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/)
 *  Thread Starter [problematic23](https://wordpress.org/support/users/problematic23/)
 * (@problematic23)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/#post-1210357)
 * I’m very sorry about the repeated bumping — I’m just going a little batty right
   now as the blog is a semi-business and the loss of a comments field is a real
   nuisance. (Though I know my issues are no more important than the next — I just
   didn’t want anyone to assume I got my answer since the post was all the way down
   the page.)
 * And yes, both of those are ticked. 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments form not showing – strange situation.](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/)
 *  Thread Starter [problematic23](https://wordpress.org/support/users/problematic23/)
 * (@problematic23)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/#post-1210351)
 * Still looking for an answer. 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments form not showing – strange situation.](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/)
 *  Thread Starter [problematic23](https://wordpress.org/support/users/problematic23/)
 * (@problematic23)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/#post-1210339)
 * Bump.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments form not showing – strange situation.](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/)
 *  Thread Starter [problematic23](https://wordpress.org/support/users/problematic23/)
 * (@problematic23)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/comments-form-not-showing-strange-situation/#post-1210307)
 * Gonna be a long weekend. 🙂

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/users/problematic23/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/problematic23/replies/page/2/?output_format=md)