how to add comments to my blog template wordpress 1

how to add comments to my blog template wordpress

if (comments_open()){
    comments_template();
}

Here is what the above code is Doing:
1. If the post has comments, then display the comments.
2. If the post has a comment form, then display the comment form.
3. If the post has comments and a comment form, then display both.
4. If the post has neither comments nor a comment form, then do nothing.

Similar Posts