What exactly is not working? Where did you put the code?
Try it with this:
<?php comments_popup_link ('0 ', '1', '%'); ?>
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; ?>
So no comment numbers show up? Wrong numbers? I tested the exact code and it showed me the correct amound of comments.
I noticed something when refreshes the page formatting that appears quickly put faster returns to the default (Comment (0))
know why this?
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”
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.
ok, I’ll do is I’ll be back with the answer
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 = /
keesiemeijer
I managed to find the site IntenseDebate option to rename the link of the comments, thanks for the support
You’re welcome. I’m glad you got it resolved.