WordPress.org

Ready to get started?Download WordPress

Forums

function comments_popup_link but nothing appears... ? (3 posts)

  1. Pixelboss
    Member
    Posted 8 years ago #

    I use (?php comments_popup_link('Commenter ?', '1 commentaire', '% commentaires'); ?) in the loop but nothing appears. I certainly make a stupid mistake somewhere but where ??? On index it works perfect, on template "single" it doen't...

    Save my mind please... :-x

  2. moshu
    Member
    Posted 8 years ago #

    It is not meant to be in the single.php - in the first place. What would it do there?
    The tag you posted is to go to the single post view where the comments are displayed.

    In the single.php you need this:
    <?php comments_template(); ?>

  3. Pixelboss
    Member
    Posted 8 years ago #

    In fact my page is very, very long and I would propose to comment articles at the top of the page... It's very important that people see the number of comment near the title for me and can click on it... Is there a solution ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags