Title: Function problem comments_popup_link
Last modified: August 20, 2016

---

# Function problem comments_popup_link

 *  [uandersonft](https://wordpress.org/support/users/uandersonft/)
 * (@uandersonft)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/function-problem-comments_popup_link/)
 * Hello guys,
    I have a small problem with this function.
 *  I am putting this code:
 * <? php comments_popup_link (‘0 ‘, ‘1’, ‘%’);?>
 *  with the parameters, but not taking this formatting
 *  appears in the default mode that is (0) comments
 * Anyone know what it could be?, I’m doing everything right is not going over

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

 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/function-problem-comments_popup_link/#post-2989571)
 * What exactly is not working? Where did you put the code?
 * Try it with this:
 *     ```
       <?php comments_popup_link ('0 ', '1', '%'); ?>
       ```
   
 *  Thread Starter [uandersonft](https://wordpress.org/support/users/uandersonft/)
 * (@uandersonft)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/function-problem-comments_popup_link/#post-2989575)
 * The code does not handle the formatting, instead of displaying the number of 
   comments as to put.
 * he views Comments (0) or Comments (1) if you have comments
 * I am placing this function within the loop
 * function is also indicted me that you did not work = (
 * Here is the complete code of the page:
 *     ```
       <?php query_posts('showposts=4'); ?>
       	  <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
              <!-- Box 1 -->
               <div class="box-novidades">
                <img src="<?php echo get_option('home');?>/<?php $key="imagens";echo get_post_meta($post->ID,$key,true);?>">
                 <span><?php the_category(' '); ?></span>
       		  <h1><a href="<?php echo get_permalink(); ?>"><?php echo substr(the_title('', '', FALSE), 0, 30); ?></a></h1>
                  <?php the_excerpt_rereloaded(15); ?>
       		    <img style="width:16px; height:16px; border:0 !important; background:none;" src="<?=bloginfo ('template_url')?>/images/icon/comments.png"  />
       			<?php comments_popup_link ('0 ', '1', '%'); ?>
       		    <div class="Nov-button"><a href="<?php echo get_permalink(); ?>"></a></div>
                    </div>
       			  <?php endwhile; else: ?>
       		       <?php endif; ?>
       ```
   
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/function-problem-comments_popup_link/#post-2989579)
 * So no comment numbers show up? Wrong numbers? I tested the exact code and it 
   showed me the correct amound of comments.
 *  Thread Starter [uandersonft](https://wordpress.org/support/users/uandersonft/)
 * (@uandersonft)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/function-problem-comments_popup_link/#post-2989582)
 * I noticed something when refreshes the page formatting that appears quickly put
   faster returns to the default (Comment (0))
 * know why this?
 *  Thread Starter [uandersonft](https://wordpress.org/support/users/uandersonft/)
 * (@uandersonft)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/function-problem-comments_popup_link/#post-2989584)
 * > So no comment numbers show up? Wrong numbers? I tested the exact code and it
   > showed me the correct amound of comments.
 *  the amount appears correct, what I want is to change the formatting by default
   is “Comments (quantity)” appear only want to put the number “1”
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/function-problem-comments_popup_link/#post-2989586)
 * try:
 * – flushing any caching plugins you might be running, as well as server and/or
   browser caches.
 * – deactivating **all** plugins to see if this resolves the problem? If this works,
   re-activate the plugins one by one until you find the problematic plugin(s).
 * – switching to the default theme to rule out any theme-specific problems.
 *  Thread Starter [uandersonft](https://wordpress.org/support/users/uandersonft/)
 * (@uandersonft)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/function-problem-comments_popup_link/#post-2989587)
 * ok, I’ll do is I’ll be back with the answer
 *  Thread Starter [uandersonft](https://wordpress.org/support/users/uandersonft/)
 * (@uandersonft)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/function-problem-comments_popup_link/#post-2989592)
 * I discovered the problem activating and reactivating the plugins, the problem
   was in IntenseDebate
 * You how I could solve this, both IntenseDebate and Disqus are giving to this 
   problem and I want to use one of two for my comments = /
 *  Thread Starter [uandersonft](https://wordpress.org/support/users/uandersonft/)
 * (@uandersonft)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/function-problem-comments_popup_link/#post-2989596)
 * keesiemeijer
 * I managed to find the site IntenseDebate option to rename the link of the comments,
   thanks for the support
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/function-problem-comments_popup_link/#post-2989603)
 * You’re welcome. I’m glad you got it resolved.

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

The topic ‘Function problem comments_popup_link’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 2 participants
 * Last reply from: [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/function-problem-comments_popup_link/#post-2989603)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
