WordPress.org

Forums

Comment number on post list in archives (1 post)

  1. Nessdufrat
    Member
    Posted 2 years ago #

    Hi!
    I've tried looking in the codex and in the forum, but I can't seem to find a solution to that.
    My archives page displays a list of all posts, arranged alphabetically, and I'd like to show the number of comments for each article.
    That's what I have at the moment:

    <h2>Liste alphab&eacute;tique de tous les articles publi&eacute;s :</h2>
            <ul>
           		 <?php wp_get_archives('type=alpha'); ?>
            </ul>

    I don't think this function allows me to display the number of comment for each post, at least I didn't find it in the codex.
    Any advice?
    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.