WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: wp-pagenavi (Used by 110,310 domains)

WP-PageNavi

πŸ‘€ Lester Chan πŸ“¦ v2.94.5 πŸ”— Plugin Homepage

Want to replace the old ← Older posts | Newer posts β†’ links with some page links?

This plugin provides the wp_pagenavi() template tag which generates fancy pagination links.

Usage

In your theme, you need to find calls to next_posts_link() and previous_posts_link() and replace them.

In the Twentyten theme, it looks like this:



You would replace those two lines with this:


For multipart pages, you would look for code like this:


and replace it with this:

 'multipart' ) ); ?>

Go to WP-Admin -> Settings -> PageNavi for configuration.

Changing the CSS

If you need to configure the CSS style of WP-PageNavi, you can copy the pagenavi-css.css file from the plugin directory to your theme’s directory and make your modifications there. This way, you won’t lose your changes when you update the plugin.

Alternatively, you can uncheck the β€œUse pagenavi.css?” option from the settings page and add the styles to your theme’s style.css file directly.

Changing Class Names

There are filters that can be used to change the default class names that are assigned to page navigation elements.

Filters

  • wp_pagenavi_class_pages
  • wp_pagenavi_class_first
  • wp_pagenavi_class_previouspostslink
  • wp_pagenavi_class_extend
  • wp_pagenavi_class_smaller
  • wp_pagenavi_class_page
  • wp_pagenavi_class_current
  • wp_pagenavi_class_larger
  • wp_pagenavi_class_nextpostslink
  • wp_pagenavi_class_last

Filter Usage

// Simple Usage - 1 callback per filter
add_filter('wp_pagenavi_class_previouspostslink', 'theme_pagination_previouspostslink_class');
add_filter('wp_pagenavi_class_nextpostslink', 'theme_pagination_nextpostslink_class');
add_filter('wp_pagenavi_class_page', 'theme_pagination_page_class');

function theme_pagination_previouspostslink_class($class_name) {
  return 'pagination__control-link pagination__control-link--previous';
}

function theme_pagination_nextpostslink_class($class_name) {
  return 'pagination__control-link pagination__control-link--next';
}

function theme_pagination_page_class($class_name) {
  return 'pagination__current-page';
}


// More Concise Usage - 1 callback for all filters
add_filter('wp_pagenavi_class_previouspostslink', 'theme_pagination_class');
add_filter('wp_pagenavi_class_nextpostslink', 'theme_pagination_class');
add_filter('wp_pagenavi_class_page', 'theme_pagination_class');

function theme_pagination_class($class_name) {
  switch($class_name) {
    case 'previouspostslink':
      $class_name = 'pagination__control-link pagination__control-link--previous';
      break;
    case 'nextpostslink':
      $class_name = 'pagination__control-link pagination__control-link--next';
      break;
    case 'page':
      $class_name = 'pagination__current'
      break;
  }
  return $class_name;
}

Development

Credits

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.

DomainExposuresHeadersLast Checked
d*n*l*m*i*o*j*c*n*h*.com (WP 6.8.1) πŸ”“ F 2026-04-14 12:27:12
s*r*t*e*o*r*g*m*s.com βœ… F 2026-04-14 12:26:14
h*r*i*g*o*m*i*t*n*n*e.com βœ… F 2026-04-14 12:26:11
h*r*i*g*o*l*w*s*o*i*t*s.com βœ… F 2026-04-14 12:26:10
y*l*n*s*f*t*t*x.com βœ… F 2026-04-14 12:26:08
y*l*n*f*t*x.com βœ… F 2026-04-14 12:26:07
h*r*i*g*o*a*d*e*v*s.com (WP 6.9.4) βœ… F 2026-04-14 12:26:05
t*t*l*d*c.com βœ… F 2026-04-14 12:25:49
t*t*l*w*b*d*r*c*o*y.com βœ… F 2026-04-14 12:25:45
n*m*m*.com πŸ”“ F 2026-04-14 12:25:30
n*m*d*c*l*a*e.com βœ… F 2026-04-14 12:25:29
t*t*l*s*r*i*e*i*a*i.com (WP 6.1.10) ⚠️ F 2026-04-14 12:22:23
n*m*n*s*o*i*t*s.com (WP 6.9.4) βœ… D 2026-04-14 12:22:19
g*c*t*a*h*a*.com βœ… F 2026-04-14 12:22:01
g*c*a*u*o*u.com βœ… F 2026-04-14 12:21:59
n*c.qld.edu.au βœ… F 2026-04-14 12:21:12
d*n*b*r*u*h*e*v*r*.com βœ… F 2026-04-14 12:21:12
s*r*t*i*g.com.au βœ… F 2026-04-14 12:21:12
k*l*p*t*.com (WP 6.9.4) βœ… F 2026-04-14 12:21:09
y*l*n*-*e*t*r.com βœ… F 2026-04-14 12:20:09
d*n*i*m*n*.com (WP 5.4.10) ⚠️ A 2026-04-14 12:19:59
h*r*i*t*e*b*w*t*.com (WP 6.9.4) βœ… F 2026-04-14 12:19:30
a*o*a*r*u*c*.com βœ… F 2026-04-14 12:17:40
y*l*a*a*o*a*h*v*.com βœ… F 2026-04-14 12:17:09
d*n*h*r*-*i*s*k*.com βœ… F 2026-04-14 12:15:52
d*n*h*r*-*m*m*t*.com βœ… F 2026-04-14 12:15:52
d*n*h*r*-*h*s*t*.com βœ… F 2026-04-14 12:15:52
s*r*i*d*g*a*g*.com (WP 6.9.4) βœ… F 2026-04-14 12:15:51
z*n*o*u*s*k.ne.jp (WP 5.8.1) ⚠️ F 2026-04-14 12:14:49
e*e*y*a*c*r*y*o*c*a*e*.com πŸ”“ D 2026-04-14 12:14:31
a*o*z*s*b*r*h.com βœ… F 2026-04-14 12:12:13
r*a*y*e*v*.com βœ… F 2026-04-14 12:11:18
r*a*y*e*l*a*.com βœ… F 2026-04-14 12:11:16
m*r*i*l*o*b*t.com (WP 6.9.4) βœ… C 2026-04-14 12:10:27
e*e*y*a*-*i*.com βœ… F 2026-04-14 12:09:46
t*t*a*i.com βœ… F 2026-04-14 12:08:25
s*r*a.com βœ… C 2026-04-14 12:07:57
s*r*i*b*s*e*.com (WP 6.9.4) βœ… F 2026-04-14 12:07:55
d*n*e*e*o*g*e*u.com (WP 6.9.4) βœ… F 2026-04-14 12:07:19
a*o*p*t.com (WP 5.4.19) ⚠️ F 2026-04-14 12:06:47
g*l*a*a*i*o.it βœ… D 2026-04-14 12:06:44
y*k*e*l*r*l*m*n*u*.com (WP 5.2.24) ⚠️ F 2026-04-14 12:04:23
t*s*-*o*z*k*z*i.com βœ… F 2026-04-14 12:04:13
y*k*e*g*n*o*m*s.com (WP 6.9.4) βœ… D 2026-04-14 11:59:06
t*s*e*t*a*l*n*.com (WP 6.1.1) ⚠️ A 2026-04-14 11:58:50
d*n*a*c*d*.com (WP 6.9.4) βœ… F 2026-04-14 11:58:15
s*r*e*t*f*o*e*s.com (WP 6.7.1) βœ… F 2026-04-14 11:57:41
v*s*o*e*u*d*e*e.de βœ… F 2026-04-14 11:55:37
m*r*h*s*i*e*a*d*n*i*e*r*.com βœ… F 2026-04-14 11:54:44
y*k*s*p*r*f*l*o.com (WP 5.6.17) ⚠️ F 2026-04-14 11:54:05
y*k*n*u*l*m*.com (WP 6.9.4) βœ… F 2026-04-14 11:54:03
e*e*y*o*y*d*a*s.com (WP 5.4.19) ⚠️ F 2026-04-14 11:53:55
e*e*y*o*y*o*e*r*y.com βœ… F 2026-04-14 11:53:52
a*o*-*n.com βœ… F 2026-04-14 11:53:47
b*o*m*b*l*.com βœ… F 2026-04-14 11:53:46
n*h*c*m*c*.com (WP 6.9.4) βœ… F 2026-04-14 11:53:15
r*a*y*n*4*e*s*a*i*n.com βœ… F 2026-04-14 11:52:46
r*a*y*n*4*n*l*e*c*.com βœ… F 2026-04-14 11:52:46
r*a*y*n*4*h*n*e.com βœ… F 2026-04-14 11:52:46
n*r*-*a*-*e*c*l*i*.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:04
n*o*t.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:04
m*t*-*d*.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:04
l*i*e*a*l*n*i*u*-*e*d*e.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:04
l*m*g*s.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:04
l*n*u*d*c.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:04
h*u*e*b*e*a*n*.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:03
g*y*n*.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:03
g*p*a*i*n*n.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:03
f*n*s*e*e*m*r*i*a*.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:03
d*u*h*n*-*a*s*e*h*n*.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:03
c*r*e.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:03
c*e*m*n*-*e*p*y.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:03
c*e*.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:03
b*u*g*e*-*r*s*e.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:03
b*r*y*n*v*r*a*s.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:03
b*y*n*e.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:03
a*d*n*e*-*u*e*m*r*e.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:02
a*j*u*m*i*e.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:02
a*g*u*e*e.cmcas.com (WP 6.9.4) βœ… D 2026-04-14 11:51:02
d*n*a*f*e*d.com βœ… F 2026-04-14 11:49:30
r*a*y*o*b*a*d*n*b*o*.com βœ… F 2026-04-14 11:49:27
r*a*y*i*n*s*.com βœ… F 2026-04-14 11:49:26
e*e*y*s*n*e.com (WP 6.9.4) βœ… F 2026-04-14 11:49:04
h*r*e*s*l*m*i*g*o.com βœ… F 2026-04-14 11:47:43
s*r*r*t*f*s*i*n.com βœ… F 2026-04-14 11:46:14
s*r*i*k*n*u*a*n*.pl βœ… F 2026-04-14 11:45:55
y*k*-*o*n*.com (WP 6.9.4) βœ… F 2026-04-14 11:45:35
t*s*u*a*o*a*a.com βœ… F 2026-04-14 11:44:28
t*s*u*o*a*a.com βœ… F 2026-04-14 11:44:28
1*h*o*u*.com (WP 6.7.5) βœ… F 2026-04-14 11:43:38
e*e*w*o*d*y*a*p.com (WP 6.9) βœ… F 2026-04-14 11:43:36
d*n*a*-*a*a*a.com (WP 5.7.15) ⚠️ F 2026-04-14 11:43:04
m*r*h*d*b*y*e.com (WP 6.8.5) βœ… F 2026-04-14 11:41:59
h*r*e*f*r*.com (WP 6.9.4) βœ… F 2026-04-14 11:41:53
y*k*u*i*h*m*n*a*g*-*u*i.com βœ… F 2026-04-14 11:40:55
m*r*h*b*c*i*s*i*u*e.com βœ… F 2026-04-14 11:39:15
m*r*h*b*c*.com βœ… F 2026-04-14 11:39:14
m*r*h*-*a*-*.com βœ… F 2026-04-14 11:39:13
s*r*c*a*l*w.com ❌ D 2026-04-14 11:38:06
t*s*h*k*r*.com βœ… F 2026-04-14 11:37:54

Top 50 Plugins

Plugin Count
elementor 3,560,824
contact-form-7 3,061,170
elementor-pro 1,965,249
woocommerce 1,693,618
revslider 1,168,775
js_composer 738,165
essential-addons-for-elementor-lite 529,956
jetpack 526,637
wp-rocket 525,950
header-footer-elementor 479,143
elementskit-lite 455,879
gutenberg-core 411,688
google-analytics-for-wordpress 391,758
instagram-feed 387,650
google-site-kit 373,916
cookie-law-info 356,117
wpforms-lite 351,875
complianz-gdpr 349,363
astra-sites 347,089
gravityforms 341,644
litespeed-cache 304,837
sitepress-multilingual-cms 296,715
bluehost-wordpress-plugin 278,755
gtranslate 231,334
coblocks 211,194
cookie-notice 207,481
premium-addons-for-elementor 175,862
the-events-calendar 172,740
mailchimp-for-wp 171,283
astra-addon 168,523
bb-plugin 168,493
gutenberg 165,608
popup-maker 160,520
pro-elements 160,325
LayerSlider 158,465
click-to-chat-for-whatsapp 157,669
creame-whatsapp-me 157,345
wp-smushit 156,386
sg-cachepress 156,217
custom-fonts 149,796
tablepress 143,602
royal-elementor-addons 140,040
woocommerce-gateway-stripe 137,097
ultimate-addons-for-gutenberg 134,141
smart-slider-3 134,103
pixelyoursite 133,150
duracelltomi-google-tag-manager 132,824
cleantalk-spam-protect 128,858
fusion-builder 124,137
megamenu 123,898

Top 50 Themes

Theme Count
hello-elementor 1,105,615
astra 982,513
Divi 893,513
pub 270,490
generatepress 207,825
flatsome 205,035
h4 184,382
Avada 182,097
oceanwp 152,504
kadence 133,332
bb-theme 110,650
twentytwentyfive 110,251
enfold 108,867
blocksy 107,194
twentytwentyfour 106,087
salient 105,833
cocoon-master 102,686
betheme 90,120
woodmart 87,208
twentyseventeen 82,411
dt-the7 71,706
neve 63,790
swell 55,109
twentytwentyone 54,864
bridge 53,818
lightning 48,248
twentytwentythree 47,506
twentytwenty 45,949
Avada-Child-Theme 42,611
gox 40,425
Impreza 37,314
bricks 36,923
Newspaper 35,559
twentytwentytwo 35,420
yith-wonder 29,333
storefront 28,863
extendable 28,581
pro 27,986
themify-ultra 27,715
epik-redesign 27,476
uncode 27,340
twentysixteen 26,551
twentyfifteen 26,453
sydney 26,328
Total 23,434
porto 22,946
go 21,780
hestia 21,077
popularfx 19,944
thrive-theme 19,930