Title: Comment link missing?
Last modified: August 20, 2016

---

# Comment link missing?

 *  [fmofmpls](https://wordpress.org/support/users/fmofmpls/)
 * (@fmofmpls)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/comment-link-missing-1/)
 * Hello. My comment link seems to be missing at the bottom of each post. Can anybody
   please assist me with this? I’m using the Raindrops theme. I’ve searched the 
   forums, but still seem to be at a loss? Also a newbie, so please excuse my ignorance.
 * Blog – [http://universalmonsterarmy.com/blog/](http://universalmonsterarmy.com/blog/)
 * Thanks for the assistance!

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Lisa Sabin-Wilson](https://wordpress.org/support/users/lisasabinwilson/)
 * (@lisasabinwilson)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/comment-link-missing-1/#post-2280217)
 * Sounds like the link is not included in the index.php of your theme?
 * Open your index.php template file for the Raindrops theme and look for this line
   of code (or something very similar):
 * `<?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>`
 * If you don’t see it, add it wherever you’d like the comments link to appear on
   your site.
 *  Thread Starter [fmofmpls](https://wordpress.org/support/users/fmofmpls/)
 * (@fmofmpls)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/comment-link-missing-1/#post-2280221)
 * Thanks for the reply! Can’t find it anywhere in the index.php file.
 * Here’s what it looks like:
 * <?php
    /** * The xhtml1.0 transitional header for our theme. * * * [@package](https://wordpress.org/support/users/package/)
   WordPress * @subpackage Raindrops * [@since](https://wordpress.org/support/users/since/)
   Raindrops 0.1 */ get_header(“xhtml1”); ?> <?php if(WP_DEBUG == true){echo ‘<!–‘.
   basename(__FILE__,’.php’).'[‘.basename(dirname(__FILE__)).’]–>’;}?>
 * <div id=”yui-main”>
    <div class=”yui-b”> <?php /** * Widget only home * */ if(
   is_home() and is_active_sidebar(‘sidebar-3’) ) { echo ‘<div class=”topsidebar”
   >’.”\n”.’
    - ‘;
       dynamic_sidebar(‘sidebar-3’); echo ‘
 * ‘.”\n”.'</div>’.”\n”.'<br class=”clear” />’;
    } ?>
 *  <div class=”<?php echo raindrops_yui_class_modify();?>” id=”container”>
    <div
   class=”yui-u first” <?php is_2col_raindrops(‘style=”width:99%;”‘);?>> <?php get_template_part(‘
   loop’, ‘default’ );?> <br style=”clear:both” /> </div> <div class=”yui-u”><?php
   if($rsidebar_show){get_sidebar(‘extra’);} ?></div> <?php //add nest grid here?
   > </div> </div> </div> <div class=”yui-b”> <?php get_sidebar(‘default’); ?></
   div> </div> <?php get_footer(); ?>
 *  [Lisa Sabin-Wilson](https://wordpress.org/support/users/lisasabinwilson/)
 * (@lisasabinwilson)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/comment-link-missing-1/#post-2280222)
 * Based on that output – look in the template file called loop.php or loop-default.
   php (or both) and copy and then paste the line of code that I gave you in my 
   previous response into the template at the location you would like it to display
   on your site.
 * `<?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>`
 * PS – when posting code in the forums – put the code between backticks so they
   are formatted correctly 🙂
 *  Thread Starter [fmofmpls](https://wordpress.org/support/users/fmofmpls/)
 * (@fmofmpls)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/comment-link-missing-1/#post-2280246)
 * Thanks Lisa for the great support. I took your advice and placed the code at 
   the very end of loop.php
 * It seemed to work for the first post, but didn’t show itself with the second (
   most recent) post? Any idea on where this should be placed within the file so
   it will remain consistent?
 * Here’s my loop.php file with backticks included this time.
 * _[code moderated - for any code longer than 10 lines, please use the [http://pastebin.com/](http://pastebin.com/)
   as explained in [http://codex.wordpress.org/Forum\_Welcome#Posting\_Code](http://codex.wordpress.org/Forum_Welcome#Posting_Code)]_
 *  [saeedqs](https://wordpress.org/support/users/saeedqs/)
 * (@saeedqs)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/comment-link-missing-1/#post-2280247)
 * [@lisa](https://wordpress.org/support/users/lisa/) Sabin-Wilson
    hi i think comment
   function should be used
 *  Thread Starter [fmofmpls](https://wordpress.org/support/users/fmofmpls/)
 * (@fmofmpls)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/comment-link-missing-1/#post-2280250)
 * Without sounding greedy, what I’d really like to see in a perfect world is for
   the comments link to show as well as a “leave a comment” link to show at the 
   end of each and every post.
 * I would be eternally grateful for further assistance!
 * Best, Terry.
 * [http://universalmonsterarmy.com/blog/](http://universalmonsterarmy.com/blog/)
 *  [Lisa Sabin-Wilson](https://wordpress.org/support/users/lisasabinwilson/)
 * (@lisasabinwilson)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/comment-link-missing-1/#post-2280265)
 * Since your code was moderated above, I cannot see your exact structure, so here
   is an example from a template I have:
 * `<?php the_time(get_option('date_format')); ?>`
    `<?php the_author_posts_link();?
   >` `<?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>`
 * That lists, in order: the date | the author | comments
 * The comments_popup_link needs to be placed within the loop, which is probably
   why you are seeing it listed for the first post, but not on subsequent posts.
 * If you want to edit the text that shows for your comment links, you would edit
   the text within the comments_popup_link parenthesis – example:
 * `<?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?>`
 * That will display if:
 * There are no comments yet: “Leave a Comment”
    There is only one comment: “1 Comment”
   There are several (like 10): “10 Comments”
 * Hope that helps.
 *  Thread Starter [fmofmpls](https://wordpress.org/support/users/fmofmpls/)
 * (@fmofmpls)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/comment-link-missing-1/#post-2280282)
 * Thanks Lisa that does help some. I’m almost there, but still need a little more
   tweaking.
 * I couldn’t really find the exact code structure you instructed me to look for,
   so I inserted the comment code where it looked to me to be the most similar. 
   I ended up with the comments link appearing above the post title; not horrible,
   but probably better placed at the end of the post.
 * Here’s my loop.php code via Pastebin – [http://pastebin.com/VA5q7jbJ](http://pastebin.com/VA5q7jbJ)
   
   P.S. I inserted the comment code on line 50.
 * Here’s a screen grab of how the comments link is appearing on my blog – [http://i52.tinypic.com/9hutye.jpg](http://i52.tinypic.com/9hutye.jpg)
 * A very big thank you for assisting me with this!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Comment link missing?’ is closed to new replies.

 * 8 replies
 * 3 participants
 * Last reply from: [fmofmpls](https://wordpress.org/support/users/fmofmpls/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/comment-link-missing-1/#post-2280282)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
