• My approved comments used to show at the bottom of each blog post but for some reason they have disappeared and instead it only says a line like this – 6 Responses to Our home on the range. I’ve checked all the areas and forums but can’t figure out why the comments aren’t showing. Any suggestions?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • This happened to me as well. I found a post somewhere that showed the fix.

    Change the following line in your functions.php file.

    From:

    function twentyten_comment( $comment, $args, $depth ) {
    	$GLOBALS['comment'] = $comment;
    	switch ( $comment->comment_type ) :
    		case '' :

    To:

    function twentyten_comment( $comment, $args, $depth ) {
    	$GLOBALS['comment'] = $comment;
    	switch ( $comment->comment_type ) :
    		case 'comment' :

    So ignore everything except the last line where case '' : is changed to case 'comment' :

    The rest is just for context.

    Hope it helps.

    • This reply was modified 4 years, 1 month ago by akovia.

    Akovia, you made our day! Thank you so much. We did what you wrote and comments started to show up. Thank you a lot, you are great man!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘approved comments not showing on blog’ is closed to new replies.