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

  1. solid28
    Posted 2 years 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:

    I put this in functions.php

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

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

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

    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