Install

Works with Drupal: ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 19.99 KB
MD5: 56db5604f82a69838d93f590a5a5ae31
SHA-1: 73890a7dff757570a204c1a87f7a66118eeee12c
SHA-256: 9cad3ca65ba129367325c7959e35d9e442673cef56d4eeec2fc4cbdc7d639ac8
Download zip 36.01 KB
MD5: c8ffca30a543c104d8f29284d089513b
SHA-1: c57a6056347113720b09342f4dd573a91b0e3cc9
SHA-256: f97e7f7da80120a250e144c0e6b8dcc3aa6b7d94cc69bf0a0edd0384a8829481

Release notes

This is an alpha release of the 3.x rewrite. It is not a stable 3.0.0 release and is not covered by the security advisory policy. Do not use it on production sites unless you are testing.

3.x pins comments in Drupal's default comment list. A Views block is no longer used, and the Comments field should stay enabled in Manage display.

Changes since 2.x:
- Compatible with Drupal 10 and 11.
- Stick on top / Remove from top on top-level comments only; replies stay with the parent.
- Settings at /admin/config/content/comment-on-top (new comment types are enabled by default).
- Optional Twig overrides, for example comment--pinned-on-top.html.twig.
- Comment on top by likes pins the most liked top-level comment (likes minus dislikes). Enable comment types at /admin/config/content/comment-on-top/by-likes, or per node under Comment settings.

On Drupal 11.4 Standard, create a content type, a comment type, and a Comments field before using this module.

Do not upgrade from 2.x without reading the README. Sites that used the Views block and a disabled Comments field need to restore the default comment display.

Please report issues at https://www.drupal.org/project/issues/comment_on_top

Created by: drale01
Created on: 9 Sep 2026 at 13:32 UTC
Last updated: 9 Sep 2026 at 13:33 UTC
New features

Other releases