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

Plugin: wp-pagenavi (Used by 100,008 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
o*e*l*n*i*g.com βœ… C 2026-04-19 22:41:24
m*j*p*.com βœ… F 2026-04-19 22:41:02
k*m*k*g*-*u*s*.com (WP 6.9.4) βœ… F 2026-04-19 22:39:33
h*p*o*b*d*g*.com (WP 6.9.4) βœ… F 2026-04-19 22:37:02
s*i*i*g*p*i*.net (WP 3.8.41) ⚠️ F 2026-04-19 22:34:56
b*r*o*f*e.com βœ… C 2026-04-19 22:34:46
r*c*m*n*g*a*i*e.com βœ… D 2026-04-19 22:33:45
a*u*r*c*r*.com βœ… F 2026-04-19 22:31:04
a*u*p*p*t*o*e.com βœ… F 2026-04-19 22:31:03
r*c*m*n*c*r*h*l*.com βœ… F 2026-04-19 22:30:13
j*e*l*m*u*i*.com βœ… F 2026-04-19 22:29:12
t*c*c*n*r*l*.com βœ… F 2026-04-19 22:28:05
r*c*m*n*-*c*o*l.com (WP 5.3.21) ⚠️ F 2026-04-19 22:27:25
m*i*a*e*h.com βœ… F 2026-04-19 22:26:29
d*s*i*e*i*e.com βœ… F 2026-04-19 22:22:43
b*r*i*g*c*r*.com (WP 6.4.8) ⚠️ F 2026-04-19 22:19:47
b*o*s*u*t.ru (WP 5.7.15) ⚠️ F 2026-04-19 22:19:17
o*e*i*g*j*b.com (WP 6.9.4) βœ… F 2026-04-19 22:19:17
m*i*o*b*i*d.com (WP 6.9.4) βœ… F 2026-04-19 22:17:33
m*i*o*c*r*h*m*.com βœ… F 2026-04-19 22:17:32
m*i*a*.com βœ… A 2026-04-19 22:17:31
f*r*e*a*n.com βœ… F 2026-04-19 22:16:30
k*m*r*n*t*o*.com βœ… F 2026-04-19 22:16:10
c*n*d*a*c*n*r*c*o*.ca βœ… B 2026-04-19 22:16:04
b*r*f*e*l*.com βœ… F 2026-04-19 22:15:41
o*e*h*u*e*a*e*a*o*a.com βœ… D 2026-04-19 22:13:59
r*c*l*n*l*g*s*i*s.com βœ… F 2026-04-19 22:11:46
t*-*i*t.com (WP 5.3.21) ⚠️ F 2026-04-19 22:09:02
b*r*e*s*s*e*e*g*n*e*i*g.com βœ… F 2026-04-19 22:08:35
b*r*e*-*u*u*k*.com (WP 4.7.29) ⚠️ F 2026-04-19 22:08:34
m*i*t*r*e*i*w*r*d*i*e.com (WP 6.9.4) βœ… F 2026-04-19 22:07:54
m*i*t*r*e*i*.com (WP 6.9.4) βœ… F 2026-04-19 22:07:54
m*i*t*r*n*e*a*t*v*.com (WP 6.9.4) βœ… F 2026-04-19 22:07:54
m*i*t*r*i*e*t.com (WP 6.9.4) βœ… F 2026-04-19 22:07:53
s*e*r*v*l*t*o*.com (WP 6.0.11) ⚠️ F 2026-04-19 22:07:46
m*y*i*u*.com βœ… D 2026-04-19 22:07:29
f*r*a*e*a*a*i*.com (WP 6.9.4) βœ… F 2026-04-19 22:07:13
o*e*h*a*t*n*v.com βœ… F 2026-04-19 22:06:27
h*p*d*o*l*r.com (WP 6.9.4) βœ… F 2026-04-19 22:06:21
b*r*e*n*i*e*r*n*.com βœ… F 2026-04-19 22:06:00
b*r*e*n*.com βœ… F 2026-04-19 22:06:00
k*m*l*b.com (WP 6.9.4) βœ… F 2026-04-19 22:05:01
s*e*p*n*s*o*e*t*a*e*l*h*s*e*f*m*l*.com (WP 6.8.5) βœ… F 2026-04-19 22:04:06
f*r*a*h*i*.com (WP 5.1.1) ⚠️ F 2026-04-19 22:03:00
o*e*g*m*s*e*e*.com βœ… F 2026-04-19 22:02:33
s*e*p*n*s*o*e*e*r*i*g*e*t*r.com (WP 6.5) ⚠️ F 2026-04-19 22:00:08
b*o*o*i*c*i*e.cl βœ… F 2026-04-19 21:59:31
h*o*i*e*s*b*.com βœ… F 2026-04-19 21:59:25
j*m*i*s.org βœ… F 2026-04-19 21:59:02
s*l*s*a*.ch (WP 6.9.4) βœ… F 2026-04-19 21:59:01
h*r*o*i*a*a*s.net βœ… F 2026-04-19 21:59:01
o*e*f*l.com βœ… F 2026-04-19 21:58:05
m*i*h*l*b.com (WP 6.9.4) βœ… F 2026-04-19 21:57:08
m*i*h*n*a*u*n.com βœ… F 2026-04-19 21:57:07
m*i*h*-*e*.com (WP 6.9.4) βœ… F 2026-04-19 21:57:06
m*i*h*-*.com βœ… F 2026-04-19 21:57:06
s*e*p*c*a*s*e*t*s.com (WP 6.9.4) βœ… F 2026-04-19 21:56:53
s*e*p*r*n*a*o*t*o*f*r*s.com βœ… C 2026-04-19 21:56:52
e*d*n*e*e*b*d*e*.org (WP 5.4.6) ⚠️ A 2026-04-19 21:55:50
r*c*i*b*l*i*g.com βœ… F 2026-04-19 21:53:59
h*o*i*r*u*.com βœ… F 2026-04-19 21:53:39
h*o*i*p*-*u*h*t*i.com βœ… F 2026-04-19 21:53:39
m*i*e*d*n*o.com (WP 6.9.4) βœ… F 2026-04-19 21:50:38
m*i*e*-*k.com (WP 6.5.8) βœ… F 2026-04-19 21:50:37
d*s*a*h*m*r*e*.com (WP 6.9.4) βœ… F 2026-04-19 21:49:37
d*s*a*h*l*m*l*.com βœ… D 2026-04-19 21:49:36
s*e*n*r*i*g*o*t*a*e.com βœ… F 2026-04-19 21:49:33
c*s*.ekomirai.com βœ… F 2026-04-19 21:47:42
e*o*a*e*t.co.uk βœ… F 2026-04-19 21:47:42
t*u*u*i*e*.com (WP 4.2.38) ⚠️ F 2026-04-19 21:47:35
m*g*e*n*o*t*r.es βœ… F 2026-04-19 21:47:34
t*u*u*i*n*x*.com (WP 6.9.4) βœ… F 2026-04-19 21:47:34
k*m*a*r*l*.com (WP 6.9.4) βœ… F 2026-04-19 21:47:31
w*l*m*d*v*n*.com βœ… A 2026-04-19 21:47:00
a*u*z*b*a.com (WP 6.9.4) βœ… F 2026-04-19 21:45:26
b*r*i*g*o*t*u*i*m.com βœ… F 2026-04-19 21:44:43
r*c*f*o*a*r*n.com βœ… F 2026-04-19 21:43:35
t*u*o*h*-*n*u*.com (WP 6.9.1) βœ… F 2026-04-19 21:42:10
h*n*r*s.com (WP 6.9.4) βœ… F 2026-04-19 21:41:40
a*u*x*t*v*s*o*t.com (WP 4.9.26) ⚠️ F 2026-04-19 21:39:54
a*u*w*r*d*o*r*i.com βœ… D 2026-04-19 21:39:54
k*m*l*-*e*i*.com βœ… C 2026-04-19 21:39:45
t*u*a*a*p*o*p*r.com (WP 6.9.4) βœ… F 2026-04-19 21:37:19
t*u*a*a*g*o*.com (WP 6.6.5) βœ… F 2026-04-19 21:37:18
d*s*t*c*v*r*s*a*k.com βœ… F 2026-04-19 21:37:01
d*s*t*c*v*r*s.com βœ… F 2026-04-19 21:37:01
a*u*v*i*e*.com βœ… F 2026-04-19 21:35:57
f*r*b*e*.com (WP 6.4.2) ⚠️ F 2026-04-19 21:34:52
r*c*e*t*a*a*i*e.com (WP 6.9.4) βœ… F 2026-04-19 21:34:34
j*m*b.com (WP 6.1.7) ⚠️ F 2026-04-19 21:33:38
k*m*e*l*p*y*o*l*r*u*.com βœ… F 2026-04-19 21:32:07
k*m*e*l*p*y*o*l.com βœ… F 2026-04-19 21:32:07
w*l*a*c.com (WP 6.9.4) βœ… C 2026-04-19 21:32:02
a*u*v*e*.com βœ… F 2026-04-19 21:31:46
c*u*f*e*d*b*v*r*y*i*l*.com (WP 6.7.2) βœ… F 2026-04-19 21:31:44
t*u*s*m*a*.com βœ… F 2026-04-19 21:31:27
t*u*s*m*-*a*k*.com βœ… F 2026-04-19 21:31:26
h*n*d*l*p*t*e*e*e*y.com βœ… F 2026-04-19 21:30:15
h*n*d*l*p*t.com βœ… F 2026-04-19 21:30:15
h*n*d*l*o*t*o.com βœ… F 2026-04-19 21:30:15

Top 50 Plugins

Plugin Count
elementor 3,130,855
contact-form-7 2,735,465
elementor-pro 1,738,460
woocommerce 1,483,030
revslider 1,038,859
js_composer 664,046
jetpack 509,556
wp-rocket 476,358
essential-addons-for-elementor-lite 467,877
header-footer-elementor 415,956
elementskit-lite 392,594
gutenberg-core 372,287
google-analytics-for-wordpress 348,849
instagram-feed 347,629
google-site-kit 334,295
cookie-law-info 322,415
complianz-gdpr 320,674
gravityforms 320,493
wpforms-lite 301,070
astra-sites 295,259
sitepress-multilingual-cms 274,945
litespeed-cache 261,765
bluehost-wordpress-plugin 257,777
gtranslate 205,793
coblocks 189,536
cookie-notice 187,248
gutenberg 163,551
the-events-calendar 159,928
premium-addons-for-elementor 154,164
mailchimp-for-wp 150,441
popup-maker 150,006
astra-addon 149,991
bb-plugin 148,872
LayerSlider 142,728
wp-smushit 140,902
creame-whatsapp-me 137,840
pro-elements 137,520
click-to-chat-for-whatsapp 135,358
custom-fonts 132,595
tablepress 131,487
woocommerce-gateway-stripe 123,741
sg-cachepress 122,097
duracelltomi-google-tag-manager 121,808
royal-elementor-addons 120,330
smart-slider-3 119,829
cleantalk-spam-protect 118,135
pixelyoursite 117,636
ultimate-addons-for-gutenberg 114,179
akismet 113,398
fusion-builder 113,096

Top 50 Themes

Theme Count
hello-elementor 984,154
astra 851,499
Divi 800,179
pub 245,937
generatepress 184,840
flatsome 182,933
Avada 167,830
h4 161,693
oceanwp 135,860
kadence 118,975
enfold 99,311
bb-theme 96,741
salient 96,163
twentytwentyfive 93,953
blocksy 93,538
twentytwentyfour 93,517
cocoon-master 88,896
betheme 80,849
twentyseventeen 75,734
woodmart 73,587
dt-the7 65,328
neve 57,568
twentytwentyone 49,613
bridge 48,755
swell 47,400
lightning 42,779
twentytwentythree 42,126
twentytwenty 42,104
Avada-Child-Theme 40,862
gox 38,713
Impreza 34,207
bricks 33,977
Newspaper 32,355
twentytwentytwo 31,854
storefront 26,192
extendable 26,028
epik-redesign 25,861
yith-wonder 25,821
pro 25,640
uncode 25,064
twentysixteen 24,424
themify-ultra 24,315
sydney 23,862
twentyfifteen 22,784
Total 21,314
porto 20,390
hestia 18,994
thrive-theme 18,016
go 17,634
popularfx 17,612