Keep your WordPress comments in order with threaded comments

Last Updated:
Category:
Gavern Framework

The GavernWP framework supports comments organized into threads, allowing clear post-based discussions.

Options associated with comments configuration can be set using standard options found in a WordPress administration panel (Settings > Discussion). Threads in comments are switched on using the “Enable threaded (nested) comments” option and by specifying the maximum depth of nested comments in threads.

Two following two files are responsible for generating HTML code for the comments:

  1. comments.php – This includes code which generates a comments list and a form of adding comments.
  2. gavern/helpers/helper.layout.fragments.php – In the gavern_comment_template function, there is code responsible for generating code of a given comment.

The CSS code responsible for comment styling and providing a form for the adding comments is in the css/wp.css file.

Keep your WordPress comments in order with threaded comments 5.005 (100.00%) 1 vote

This article was first published

Villa Belluci - View our NEW theme
×

Tutorials & tips delivered regularly

Expand your purchase with regular tutorials and tips to making your site better, direct to your email.