I'm using this code to put the comments in my homepage:
<?php comment_form(); ?> <ol class="commentlist"> <?php //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 wp_list_comments(array( 'per_page' => 6, //Allow comment pagination 'reverse_top_level' => false //Show the latest comments at the top of the list ), $comments); ?> </ol>
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?