• 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

    (@keesiemeijer)

    What exactly is not working? Where did you put the code?

    Try it with this:

    <?php comments_popup_link ('0 ', '1', '%'); ?>

    Thread Starter uandersonft

    (@uandersonft)

    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

    (@keesiemeijer)

    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

    (@uandersonft)

    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

    (@uandersonft)

    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

    (@keesiemeijer)

    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

    (@uandersonft)

    ok, I’ll do is I’ll be back with the answer

    Thread Starter uandersonft

    (@uandersonft)

    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

    (@uandersonft)

    keesiemeijer

    I managed to find the site IntenseDebate option to rename the link of the comments, thanks for the support

    Moderator keesiemeijer

    (@keesiemeijer)

    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.