Главное меню

Comments Features

GavernWP has support for comments with a division into threads. Thanks to it, discussions made in comments under a post given are clearer.

All options connected with comments configuration can be set by using standard options in a WordPress administration panel (Settings > Discussion). Threads in comments are switched on thanks to «Enable threaded (nested) comments» and specifying maximal depth of nested comments in threads.

There are two files responsible for generating HTML code of comments, namely:

  • comments.php — it includes a code which generates a comments list and a form of adding comments.
  • gavern/helpers/helper.layout.fragments.php — in gavern_comment_template function, there is a code responsible for generating a code of a comment given.

CSS code responsible for a style of comments and a form of adding comments is in css/wp.css file.


Meet Gavern has also two new options connected with comments, available in Advanced theme settings:

  • Add target blank to comments links — if this option is enabled, then every link in the comments text will open in new browser tab.
  • Autolinking in comments — if this option is enabled, then every link in the comments text will be automatically changed into hyperlink

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *





Курсы валют

Информеры - курсы валют


счетчик посещений