Title: comment link not working in cp minimal
Last modified: August 20, 2016

---

# comment link not working in cp minimal

 *  Resolved [electric warrior](https://wordpress.org/support/users/flufffox/)
 * (@flufffox)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/comment-link-not-working-2/)
 * I installed a new theme, cp minimal, and the comment link doesn’t seem to be 
   working. When you click the comment link it only forwards you to the page link
   while the address bar says bloglink.com/page#comment. It’s something that really
   bugs me.
 * I’ve been trying to rewrite the entire link comment but nothing seems to be working!
   The link is a comment_popup_link. I really really don’t want a popup appearing
   but as far as I can tell when the popup javascript isn’t installed it should 
   work just like a regular comment:
    [http://codex.wordpress.org/Function_Reference/comments_popup_link](http://codex.wordpress.org/Function_Reference/comments_popup_link)
 * my blog [http://emu-memu.net/fluff](http://emu-memu.net/fluff)

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

 *  Thread Starter [electric warrior](https://wordpress.org/support/users/flufffox/)
 * (@flufffox)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/comment-link-not-working-2/#post-2376945)
 * For more info there are two php files which seem to be cooperating, one called
   single.php and another which is not a standard one, called post.php
 * The single php seems to basically call for the post.php and the comments template
 *     ```
       <?php include('post.php'); ?>
   
       <?php comments_template(); ?>
       ```
   
 * The post.php describes the post more in detail and calls for the comments with
   a pop up link.
 *     ```
       <div class="post-meta">
       				<span class="post-meta-info"><?php the_time( __('F jS, Y', 'cp') ); ?> · <?php the_category(', ') ?></span>
       				<span class="post-meta-comments"><?php edit_post_link(__('Edit', 'cp'), '', ' · '); ?><?php comments_popup_link(__('No comments', 'cp'), __('One comment', 'cp'), '% '.__('comments', 'cp') ); ?></span>
   
       				<span class="post-meta-info"><?php the_tags('Tags: ', ', ', ''); ?></span>
       			</div>
       ```
   
 * _[Please post code snippets between backticks or use the code button.]_
 *  Thread Starter [electric warrior](https://wordpress.org/support/users/flufffox/)
 * (@flufffox)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/comment-link-not-working-2/#post-2377005)
 * More info: apperently the link does work when there are no comments (and therefore
   links to #respond instead)! I have no idea what’s causing this!
 *  Thread Starter [electric warrior](https://wordpress.org/support/users/flufffox/)
 * (@flufffox)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/comment-link-not-working-2/#post-2377010)
 * Awesome, I finally found what was causing it!
 * Inside the comments php file I added <div id=”comments”> right under <?php if(
   have_comments() ) : ?> and that seemed to fix it!
 *  Thread Starter [electric warrior](https://wordpress.org/support/users/flufffox/)
 * (@flufffox)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/comment-link-not-working-2/#post-2377051)
 * Okay that code made my sidebar appear on the bottom of the page! The correct 
   code is this
 * <div id=”comments” class=”commentlist”>
 * right under <?php if ( have_comments() ) : ?>
 * 🙂

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

The topic ‘comment link not working in cp minimal’ is closed to new replies.

## Tags

 * [comment link](https://wordpress.org/support/topic-tag/comment-link/)

 * 4 replies
 * 1 participant
 * Last reply from: [electric warrior](https://wordpress.org/support/users/flufffox/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/comment-link-not-working-2/#post-2377051)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
