WordPress.org

Ready to get started?Download WordPress

Forums

can't display comments --- any advice (1 post)

  1. solid28
    Member
    Posted 1 year ago #

    Hey Everyone,

    I am attempting to get comments to work --- but I am getting zero output despite having 10 comments on the post!

    I am using the default code listed under the examples here:
    http://codex.wordpress.org/Function_Reference/wp_list_comments

    I put this in functions.php

    function mytheme_comment($comment, $args, $depth) {
    		$GLOBALS['comment'] = $comment;
                    //etc......

    And inside single.php, inside the LOOP I have:

    <ul class="commentlist">
    <?php wp_list_comments('type=comment&callback=mytheme_comment'); ?>
    </ul>

    For the page I am checking, I have 10 comments that display in other themes.

    Any thoughts on what I should check?

    thank you so much!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags