• Agent D

    (@agent-d)


    Hi,

    I’m using this:

    Comments (<?php comments_popup_link(‘0’, ‘1’, ‘%’); ?>)

    Everything works fine except that the text “Comments” is not linked, so the one way for people to leave a comment is to click on the number which I think it’s kinda hard to be noticed. Is there anyway that I can link “Comments” which takes to “Leave a comment” page? Please let me know. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Equal

    (@equalmark)

    Use this from the default theme:

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

    Thread Starter Agent D

    (@agent-d)

    Thanks for the great tip! I took your code and edit it like this, and it worked fine!

    <?php comments_popup_link(‘No Comments’, ‘Comment (1)’, ‘Comments (%)’); ?>

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add a link to “Comments”’ is closed to new replies.