🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
WP-CommentNavi icon
gepflegt Getestet bis 7.0.9 #65 in comments

WP-CommentNavi

Adds a more advanced paging navigation for your comments to your WordPress blog.

Aktive Installationen700+100+ Stufe
Downloads · 30d411▲ +73.4% vs prev. 30d
Wertung5/52 Bewertungen
Gesundheits-Score62/100Gut
Downloads aller Zeiten66.6KSince Nov 2008
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 6.8PHP 8.2+
Downloads · 7d101▼ -22.3% week over week
Unser Urteil

Solide Wahl

WP-CommentNavi is a solid plugin choice in 2026, with a few things worth checking first. It runs on 700+ sites, is rated 5/5 and was last updated 4 months ago, and scores 62/100 on our health check.

  • Kleine Benutzerbasis (700+ aktive Installationen)
  • Bisher sehr wenige Bewertungen
  • Benötigt PHP 8.2 oder neuer

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

61218Sep 3Oct 17Dec 1
Gestern12
Täglicher Durchschnitt (1 Jahr)7
Spitzentag80Aug 9, 2026
Letzte 12 Monate2.4K

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where WP-CommentNavi stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
Bemerkungen >100 10,000 Beste Kommentare Plugins →
navigation >100 7,113 Best navigation plugins →
pages >100 10,000 Best pages plugins →
pagination #60 3,876 Best pagination plugins →
paging #4 367 Best paging plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 1.1281.5%
  • 2.012.7%
  • 1.105.8%

Bewertungsaufschlüsselung

★★★★★★★★★★ 5 from 2 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About WP-CommentNavi

Aus der offiziellen Readme · V2.0.0

Beschreibung

Replaces the plain ← Older Comments | Newer Comments → links with numbered page links.

Beispiel: Page 1 of 20: [1] 2 3 4 ... Last

It is the comment-thread counterpart of WP-PageNavi, and the two are deliberately built the same way, down to the names of the filters that change the class names.

The plugin icon is by Freepik from Flaticon.

Merkmale

  • Numbered page links instead of two prev/next links
  • A drop-down list style, for threads with a great many pages
  • Every piece of the navigation’s text is configurable, including inline SVG arrows
  • Larger page numbers — 10, 20, 30 — for jumping across a long thread
  • Ten filters for the element class names, one for the finished markup
  • One stylesheet that serves both left-to-right and right-to-left locales, restyled with two CSS custom properties

Donations

I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.

Verwendung

The template tag reads figures that WordPress only populates inside comments_template(), so it belongs in comments.php and produces nothing anywhere else.

It also accepts an array of arguments:

<?php
wp_commentnavi(
    array(
        'wrapper_tag'   => 'nav',
        'wrapper_class' => 'my-comment-nav',
        'options'       => array( 'num_pages' => 3 ),
    )
);
?>

Pass 'echo' => false to get the markup back as a string instead of printing it.

Changing the CSS

The navigation inherits its font and its colours from your theme, and the two colours it does set are CSS custom properties, so the usual way to restyle it is to set those in your theme’s style.css:

:root {
    --wp-commentnavi-border-color: #d0d0d0;
    --wp-commentnavi-border-color-current: #c0392b;
}

If you need to change more than that, copy css/wp-commentnavi.css out of the plugin directory into your theme’s directory as wp-commentnavi.css and edit it there. Your changes then survive plugin updates, and a copy in a child theme wins over one in the parent theme.

Alternatively, set Use wp-commentnavi.css to No on the settings screen and write the styles yourself.

Changing Class Names

These filters change the class names assigned to the navigation elements:

  • wp_commentnavi_class_pages
  • wp_commentnavi_class_first
  • wp_commentnavi_class_previouscommentslink
  • wp_commentnavi_class_extend
  • wp_commentnavi_class_smaller
  • wp_commentnavi_class_page
  • wp_commentnavi_class_current
  • wp_commentnavi_class_larger
  • wp_commentnavi_class_nextcommentslink
  • wp_commentnavi_class_last

Other Filters

  • wp_commentnavi — the complete markup, before it is printed
  • wp_commentnavi_allowed_html — the tags allowed inside the navigation text settings
  • wp_commentnavi_capability — the capability required to reach the settings screen, manage_options by default
add_filter( 'wp_commentnavi_capability', function ( $capability, $context ) {
    return 'edit_pages';
}, 10, 2 );

Installation

  1. Installieren und aktivieren Sie das Plugin.
  2. Open wp-content/themes/<YOUR THEME NAME>/comments.php and add <?php if ( function_exists( 'wp_commentnavi' ) ) { wp_commentnavi(); } ?> where the old comment links were.
  3. Go to WP-Admin -> Settings -> CommentNavi to configure it.

The tag reads figures WordPress only populates inside comments_template(), so it belongs in comments.php and nowhere else.

Änderungsprotokoll

Requires WordPress 6.8 and PHP 8.2. If your theme calls wp_commentnavi_all_comments_link(), the site will fatal. That function and the comment-all query variable behind it are gone: any visitor could append ?comment-all=1 to any URL and make WordPress load up to 9999 comments in one query. Delete the call from your theme's comments.php. wp_commentnavi() and wp_commentnavi_dropdown() are unchanged. The settings screen is at options-general.php?page=wp-commentnavi, still under Settings -> CommentNavi. The old address embedded the plugin's folder name, so anyone who installed the plugin under a different folder name could not open the screen at all. Settings migrate on the first admin page load, from commentnavi_options to wp_commentnavi_options, with the plugin and schema versions in a wp_commentnavi_version row of their own. Point any script or WP-CLI command that writes commentnavi_options directly at the new name. The navigation inherits your theme's colours instead of painting blue links, black borders and a white background over them, so it now works on a dark theme. Set --wp-commentnavi-border-color and --wp-commentnavi-border-color-current to restyle it. If you copied commentnavi-css.css into your theme, rename your copy to wp-commentnavi.css; the plugin's own file is css/wp-commentnavi.css and the theme override is looked up under the matching name.

2.0.0

  • BREAKING: Requires WordPress 6.8 and PHP 8.2, up from 6.0 and 7.4.
  • BREAKING: The “View all comments” feature has been removed — the comment-all query variable and wp_commentnavi_all_comments_link(). It hooked pre_get_posts with no is_main_query() or is_singular() guard and forced comments_per_page to 9999, so any visitor could trigger an unbounded comment query on any URL. If your theme calls wp_commentnavi_all_comments_link() you must remove that call. See the FAQ
  • BREAKING: The settings page moved to Settings -> CommentNavi at options-general.php?page=wp-commentnavi. The old address embedded the plugin’s directory name, which made the screen unreachable for anyone who had installed the plugin under a different one. Update your bookmarks
  • BREAKING: The settings are stored in wp_commentnavi_options instead of commentnavi_options, and the plugin and schema versions in a wp_commentnavi_version row of their own. Your settings are carried across automatically the first time wp-admin is loaded after updating
  • BREAKING: commentnavi-css.css is now css/wp-commentnavi.css, and a copy in your theme has to be renamed to wp-commentnavi.css to keep being used
  • NEW: Restructured into includes/ following the Plugin Handbook layout. The plugin is now five classes behind the same template tags
  • NEW: The settings page is built with the WordPress Settings API
  • NEW: Larger page numbers, as in WP-PageNavi. Off by default, so upgrading does not change how your comment navigation looks — set Number Of Larger Page Numbers To Show to turn it on
  • NEW: A Use wp-commentnavi.css setting, so the stylesheet can be turned off without editing anything
  • NEW: Ten wp_commentnavi_class_* filters for the element class names, a wp_commentnavi filter for the whole markup, and wp_commentnavi_allowed_html for the tags permitted in the navigation text
  • NEW: A wp_commentnavi_capability filter, so the settings screen can be handed to a capability other than manage_options
  • NEW: wp_commentnavi() accepts an array of arguments, including 'echo' => false to return the markup instead of printing it
  • CHANGED: The stylesheet sets no link colour, border colour or background of its own. It inherits the theme’s colours, and the two it does need come from the --wp-commentnavi-border-color and --wp-commentnavi-border-color-current custom properties, with a dark-scheme default
  • CHANGED: The stylesheet is written with direction-neutral CSS, so one sheet serves both writing directions
  • FIXED: Network activation and multisite uninstall were fatal errors. Both called wp_get_sites(), which WordPress removed in 5.1
  • FIXED: Multisite uninstall stopped at the hundredth site, leaving the settings behind everywhere after it, and restored the current blog once instead of once per site
  • FIXED: XSS. The first, last and numbered links put the navigation text straight into a title attribute with no escaping, so a double quote in a setting closed the attribute and everything after it became markup
  • FIXED: An option row saved by an older version raised a PHP notice on the front end for every setting added since. Defaults are now merged on read
  • FIXED: The “Text For Previous …” box displayed the “Text For Next …” value, so the two could never be given different text through the settings screen
  • FIXED: Saving the settings added a backslash before every apostrophe, visibly, on the site itself. addslashes() was applied on top of the slashes WordPress already adds to $_POST
  • FIXED: A commentnavi-css.css in your theme was looked for in the parent theme but loaded from the child theme, so under a child theme neither location worked
  • FIXED: The plugin directory name was hardcoded, so the stylesheet 404d if the plugin was installed under any other directory name
  • FIXED: A post with no comments reported “Page 1 of 0” when Always Show Comment Navigation was on
  • FIXED: The drop-down style pointed its form at an admin URL, and case 2; used a semicolon, which PHP 8.5 deprecates
  • FIXED: The stylesheet is enqueued on wp_enqueue_scripts rather than wp_print_styles, and its version tracks the plugin version instead of being pinned to 1.10
  • NOTE: Four settings labels were renamed from “Text For First/Last/Next/Previous Comment” to “… Page”, because those links go to a page of comments rather than to a comment. Renaming a string resets it on translate.wordpress.org, so those four labels will show in English in translated locales until someone retranslates them. Every other existing label kept its original wording precisely to avoid that

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

Settings -> WP-CommentNavi, where every piece of the navigation text is set
Settings -> WP-CommentNavi, where every piece of the navigation text is set
The comment links under a post with twenty pages of comments
The comment links under a post with twenty pages of comments

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best WP-CommentNavi alternatives

Alle Kommentare Plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 Akismet Anti-Spam: Spam-Schutz Akismet Anti-Spam: Spam-Schutz Der beste Anti-Spam-Schutz zum Blockieren von Spam-Kommentaren und Spam in einem Kontaktformular. Die meisten… von Automattic 5M+ ★★★★★★★★★★ 4.7 (1.2K) Vor 4 Monaten 73
2 Kommentare deaktivieren Kommentare deaktivieren Deaktivieren Sie die Kommentare auf der gesamten Website oder nach dem Posttyp, löschen Sie vorhandene Kommentare in großen Mengen und blockieren Sie… von wpdeveloper 1M+ ★★★★★★★★★★ 4.7 (282) Vor 2 Wochen 93
3 Antispambiene Antispambiene Ausgeklügeltes Antispam-Plugin für effektive tägliche Kommentare und Trackback-Spam-Kämpfe… von pluginkollektiv 700K+ ★★★★★★★★★★ 4.8 (227) Vor 3 Monaten 72
4 Gravatar Enhanced – Avatare, Profile und Privatsphäre Gravatar Enhanced – Avatare, Profile und Privatsphäre Das offizielle Gravatar-Plugin mit datenschutzorientierten Einstellungen, einfachen Profil-Updates und… von Automattic 200K+ ★★★★★★★★★★ 5 (3) Vor 1 Monat 78
5 Kommentare deaktivieren Kommentare deaktivieren Deaktivieren, verbergen, Massenlöschen und automatische Antworten auf Kommentare und WooCommerce Reviews —… von rbplugins 100K+ ★★★★★★★★★★ 3.8 (25) Vor 4 Wochen 90
6 Disqus-Kommentarsystem Disqus-Kommentarsystem Disqus ist das beliebteste Kommentarsystem des Webs. Verwenden Sie disqus, um das Engagement zu erhöhen, beizubehalten… von disqus 30K+ ★★★★★★★★★★ 2.7 (219) Vor 1 Monat 65
7 Wirft Spam weg Wirft Spam weg Ein leistungsstarkes Anti-Spam-Plugin, das Spam-Kommentare stillschweigend verworfen, ohne dass ein Fehler angezeigt wird… von ウェブ屋のさとーさん 10K+ ★★★★★★★★★★ 5 (6) Vor 3 Monaten 75
8 Cookies für Kommentare Cookies für Kommentare Setzt ein Cookie auf einem zufälligen URL, das dann überprüft wird, wenn ein Kommentar veröffentlicht wird. Wenn der Keks… von Donncha O Caoimh (A11N) 10K+ ★★★★★★★★★★ 4.9 (18) Vor 8 Jahren 42
9 Kommentare abonnieren Kommentare abonnieren Kommentare abonnieren Ermöglicht Kommentatoren einen Eintrag, um E-Mail-Benachrichtigungen zu abonnieren… von Mark Jaquith 10K+ ★★★★★★★★★★ 3.9 (14) Vor 2 Monaten 77
10 Native PHP-Sitzungen Native PHP-Sitzungen Verwenden Sie native PHP-Sitzungen und bleiben Sie horizontal skalierbar. Besser durch überlegenes Leben… von Pantheon Systems 10K+ ★★★★★★★★★★ 4.9 (16) Vor 12 Monaten 46

Fragen und Antworten

WP-CommentNavi: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is WP-CommentNavi free?

Yes. WP-CommentNavi is free to download and use from the official WordPress.org plugin directory.

Is WP-CommentNavi safe to use in 2026?

WP-CommentNavi is a solid plugin choice in 2026, with a few things worth checking first. It runs on 700+ sites, is rated 5/5 and was last updated 4 months ago, and scores 62/100 on our health check.

How many websites use WP-CommentNavi?

WP-CommentNavi is active on 700+ WordPress websites and has been downloaded 66,617 times since it launched in November 2008. It was downloaded 411 times in the last 30 days.

Does WP-CommentNavi work with WordPress 7.1?

WP-CommentNavi is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does WP-CommentNavi need?

WP-CommentNavi requires PHP 8.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was WP-CommentNavi last updated?

The latest version, 2.0.0, was released on August 9, 2026 (4 months ago).

Who makes WP-CommentNavi?

WP-CommentNavi is developed and maintained by Lester Chan.

What are the best alternatives to WP-CommentNavi?

The most popular alternatives to WP-CommentNavi are Akismet Anti-spam: Spam Pro… (5M+ installs), Disable Comments (1M+ installs) and Antispam Bee (700K+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen