Support » Fixing WordPress » comments list

  • I’m using this code to put the comments in my homepage:

    <?php comment_form(); ?> 
    <ol class="commentlist">
    		//Gather comments for a specific page/post
    		$comments = get_comments(array(
    			'post_id' => XXX,
    			'status' => 'approve' //Change this to the type of comments to be displayed
    		//Display the list of comments
    			'per_page' => 6, //Allow comment pagination
    			'reverse_top_level' => false //Show the latest comments at the top of the list
    		), $comments);

    now that gives me that which it’s perfect:

    but after I’m writing a comment I’m getting this:

    So i guess it relating it to a specific post from NOV16
    how can i make that all the time I’ll see all the posts?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘comments list’ is closed to new replies.