🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
WP-CommentNavi icon
Maintained Tested up to 7.0.9 #65 in comments

WP-CommentNavi

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

Active installs700+100+ tier
Downloads · 30d411▲ +73.4% vs prev. 30d
Rating5/52 reviews
Health score62/100Good
All-time downloads66.6KSince Nov 2008
Support resolved—No recent threads
RequiresWP 6.8PHP 8.2+
Downloads · 7d101▼ -22.3% week over week
Our verdict

Solid choice

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.

  • Small user base (700+ active installs)
  • Very few reviews so far
  • Needs PHP 8.2 or newer

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

61218Sep 3Oct 17Dec 1
Yesterday12
Daily average (1y)7
Peak day80Aug 9, 2026
Last 12 months2.4K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where WP-CommentNavi stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
comments >100 10,000 Best comments 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 →

Version adoption

Share of active sites per release.

  • 1.1281.5%
  • 2.012.7%
  • 1.105.8%

Rating breakdown

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

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

About WP-CommentNavi

From the official readme · v2.0.0

Description

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

Example: 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.

Features

  • 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.

Usage

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. Install and activate the 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.

Changelog

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

Full changelog on 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

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best WP-CommentNavi alternatives

All comments plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Akismet Anti-spam: Spam Protection Akismet Anti-spam: Spam Protection The best anti-spam protection to block spam comments and spam in a contact form. The most… by Automattic 5M+ ★★★★★★★★★★ 4.7 (1.2K) 4 months ago 73
2 Disable Comments Disable Comments Disable comments site-wide or by post type, delete existing comments in bulk, and block… by WPDeveloper 1M+ ★★★★★★★★★★ 4.7 (282) 2 weeks ago 93
3 Antispam Bee Antispam Bee Sophisticated antispam plugin for effective daily comment and trackback spam-fighting… by pluginkollektiv 700K+ ★★★★★★★★★★ 4.8 (227) 3 months ago 72
4 Gravatar Enhanced – Avatars, Profiles, and Privacy Gravatar Enhanced – Avatars, Profiles, and Privacy The official Gravatar plugin, featuring privacy-focused settings, easy profile updates, and… by Automattic 200K+ ★★★★★★★★★★ 5 (3) 1 month ago 78
5 Disable Comments Disable Comments Disable, hide, bulk-delete & auto-reply to comments and WooCommerce reviews —… by rbplugins 100K+ ★★★★★★★★★★ 3.8 (25) 4 weeks ago 90
6 Disqus Comment System Disqus Comment System Disqus is the web's most popular comment system. Use Disqus to increase engagement, retain… by Disqus 30K+ ★★★★★★★★★★ 2.7 (219) 1 month ago 65
7 Throws SPAM Away Throws SPAM Away A powerful anti-spam plugin that silently discards spam comments without showing any error… by ウェブ屋のさとーさん 10K+ ★★★★★★★★★★ 5 (6) 3 months ago 75
8 Cookies for Comments Cookies for Comments Sets a cookie on a random URL that is then checked when a comment is posted. If the cookie… by Donncha O Caoimh (a11n) 10K+ ★★★★★★★★★★ 4.9 (18) 8 years ago 42
9 Subscribe to Comments Subscribe to Comments Subscribe to Comments allows commenters on an entry to subscribe to e-mail notifications… by Mark Jaquith 10K+ ★★★★★★★★★★ 3.9 (14) 2 months ago 77
10 Native PHP Sessions Native PHP Sessions Use native PHP sessions and stay horizontally scalable. Better living through superior… by Pantheon Systems 10K+ ★★★★★★★★★★ 4.9 (16) 12 months ago 46

FAQ

WP-CommentNavi: quick answers

Straight answers, pulled from live WordPress.org data.

Source: 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).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open