WordPress.org

Ready to get started?Download WordPress

Forums

comments_popup_link in single.php not appearing (3 posts)

  1. xavier039
    Member
    Posted 6 years ago #

    My comment link is not showing up on my single.php page. It is the same has on all other pages and they all work fine. I have <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> on each page. Anybody know why this is?

  2. frames
    Member
    Posted 6 years ago #

    Actually, while investigating something else, I found this comment on the source of the comments_popup_link function:

    * comments_popup_link() - Displays the link to the comments popup window for the current post ID.
    *
    * Is not meant to be displayed on single posts and pages. Should be used on the lists of posts

    So it looks like it must be used outside the single post view. And you should not need it. Maybe looking at single.php in some themes would help?

  3. Jauhari
    Member
    Posted 5 years ago #

    Anybody can solve this problem?

Topic Closed

This topic has been closed to new replies.

About this Topic