Comments provide a way for a conversation to develop between the post author and visitors. Sometimes, visitors to the blog engage in discussions with each other directly.
In older versions of WordPress, displaying these discussions was something that couldn't be done without the help of plugins. In newer versions of WordPress, however, threaded comments are something that is provided right out of the box. Given this, it is easy and straightforward to implement the correct display of comment threads.
First, you must enable comments on a post and display them properly. Follow the Displaying a comment form on a post recipe to make sure that your comment form shows up and that comments on particular posts are displayed in a list.
Next, open your theme's header.php
file and place the following code above your call to wp_head
. This code enables the comment reply JavaScript functionality, allowing your users to easily and quickly form threaded...