Forums

comments_popup_link doesn't open comments page (5 posts)

  1. RockyMtnHi
    Member
    Posted 3 years ago #

    I am using this code:
    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
    to show the comments link. The link shows up (http://thedenverelement.com.previewdns.com/) but when clicked it doesn't go to the /#respond page and consequently no comments form opens up.

    What am I missing here?

    Thanks in advance...

  2. Samuel B
    moderator
    Posted 3 years ago #

    <?php comments_popup_link(__('No Comments'), __('1 Comment'), __('% Comments')); ?>

  3. RockyMtnHi
    Member
    Posted 3 years ago #

    Thanks for the reply, but I tried this code and it still didn't open the comments form.

  4. RockyMtnHi
    Member
    Posted 3 years ago #

    It is important that I get comments working for this client. Does anyone have input to this problem? It would help me a great deal.

    Thanks

  5. RockyMtnHi
    Member
    Posted 3 years ago #

    Found it on my own. The WP code for adding comments is:

    <div id="comments-template">
    	<?php comments_template(); ?>
    </div>

    I used the comments-template div so I can control the size of the comment text area object in CSS.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.