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

Plugin: wp-pagenavi (Used by 98,166 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
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
o*e*d*o*a*c*i*n*.com (WP 6.9.4) βœ… F 2026-04-19 21:29:43
f*r*i*a*p*a*t*m.com βœ… F 2026-04-19 21:29:36
w*l*g*t*a*r*c*.com βœ… B 2026-04-19 21:27:19
g*u*o*d*c*r.cl βœ… F 2026-04-19 21:27:00
h*n*r*y*g*.com (WP 6.9.4) βœ… F 2026-04-19 21:26:22
f*r*e*.com (WP 6.9.4) βœ… F 2026-04-19 21:24:04
r*c*e*s*i*m.com βœ… F 2026-04-19 21:22:35
r*c*e*j*p*n.com βœ… F 2026-04-19 21:22:33
k*m*e*l*g*o*p*a*r*l*.com βœ… F 2026-04-19 21:22:06
k*m*e*l*e*n*o.com βœ… D 2026-04-19 21:22:04
h*n*m*r*-*n*u*u.com βœ… F 2026-04-19 21:21:17
h*n*m*r*-*o*i.com βœ… F 2026-04-19 21:21:17
h*n*k*c*i*k*k*k*.com (WP 6.9.4) βœ… F 2026-04-19 21:21:16
t*u*h*m*-*e*t.com (WP 6.9.4) βœ… F 2026-04-19 21:21:07
t*u*h*m*-*u*u*a.com βœ… F 2026-04-19 21:21:07
o*e*c*n*e*l.com βœ… D 2026-04-19 21:20:14
f*r*o*n*r*h*m*r*c*.com βœ… F 2026-04-19 21:19:06
m*i*e*a*d*r*u*t.com (WP 6.9.4) βœ… F 2026-04-19 21:18:37
k*m*e*l*d*l*r*s*.com βœ… D 2026-04-19 21:18:31
t*u*u*a*i*s*i*o*r*.com βœ… F 2026-04-19 21:16:07
t*u*u*k*z*i*o*u.com βœ… F 2026-04-19 21:16:07
h*n*k*-*e*j*.com βœ… F 2026-04-19 21:16:04
b*r*h*r*t*w*b*r.com βœ… A 2026-04-19 21:15:45
s*i*w*s*k*t*i.co.jp (WP 5.9.13) ⚠️ F 2026-04-19 21:15:32
k*m*e*l*b*a*o.com (WP 6.9.4) βœ… F 2026-04-19 21:14:56
c*i*d*p*c*c*i.org βœ… F 2026-04-19 21:14:34
d*s*o*n*s*i*l.com (WP 6.9.4) βœ… F 2026-04-19 21:13:02
s*c*n*e*t*o*s.org βœ… D 2026-04-19 21:12:05
h*n*d*h*i*u.com (WP 6.9.4) βœ… F 2026-04-19 21:10:26
m*i*b*s*d*e*c*l*m*e.com βœ… F 2026-04-19 21:07:57
h*n*d*-*a*g*o.com (WP 6.5.8) βœ… F 2026-04-19 21:06:02
h*n*d*-*a*.com (WP 5.9.13) ⚠️ F 2026-04-19 21:06:01
t*u*u*a*e*k*t*h*n.com (WP 4.9.18) ⚠️ F 2026-04-19 21:06:00
t*u*u*o*u.com βœ… F 2026-04-19 21:05:59
t*u*u*o*e.com (WP 6.2.9) ⚠️ F 2026-04-19 21:05:59
b*r*e*u*t*r*d*m*.com βœ… F 2026-04-19 21:05:38
s*e*h*n*o*b*r*s.com βœ… F 2026-04-19 21:05:02
m*i*a*-*a*p*r*.com βœ… D 2026-04-19 21:02:28
s*e*h*n*i*l*.com βœ… F 2026-04-19 21:02:14
g*j*r*t*o*a*.in βœ… F 2026-04-19 21:01:41
f*r*l*n*t*e*.com βœ… F 2026-04-19 21:01:36
i*f*r*a*i*u*n*w*.fr βœ… D 2026-04-19 21:01:04
t*u*u*m*t*r*s*h*o*.com βœ… F 2026-04-19 21:00:52
t*u*i*.com (WP 6.9.4) βœ… F 2026-04-19 21:00:51
t*u*i*a*.com βœ… F 2026-04-19 21:00:50
h*n*-*r*s*i.com (WP 6.9.4) βœ… F 2026-04-19 20:59:54

Top 50 Plugins

Plugin Count
elementor 3,059,689
contact-form-7 2,679,626
elementor-pro 1,700,960
woocommerce 1,446,633
revslider 1,016,419
js_composer 651,171
jetpack 506,857
wp-rocket 467,952
essential-addons-for-elementor-lite 457,897
header-footer-elementor 405,650
elementskit-lite 382,705
gutenberg-core 373,297
google-analytics-for-wordpress 341,891
instagram-feed 341,255
google-site-kit 328,106
gravityforms 317,339
cookie-law-info 316,705
complianz-gdpr 315,836
wpforms-lite 293,095
astra-sites 286,764
sitepress-multilingual-cms 270,893
litespeed-cache 254,597
bluehost-wordpress-plugin 254,298
gtranslate 201,441
coblocks 188,234
cookie-notice 183,680
gutenberg 163,456
the-events-calendar 157,541
premium-addons-for-elementor 150,633
popup-maker 148,063
astra-addon 146,898
mailchimp-for-wp 146,882
bb-plugin 145,764
LayerSlider 139,941
wp-smushit 138,186
creame-whatsapp-me 134,703
pro-elements 133,969
custom-fonts 132,259
click-to-chat-for-whatsapp 131,530
tablepress 129,222
woocommerce-gateway-stripe 121,486
duracelltomi-google-tag-manager 119,761
smart-slider-3 117,310
royal-elementor-addons 117,064
sg-cachepress 116,675
cleantalk-spam-protect 116,337
pixelyoursite 115,109
akismet 112,000
megamenu 111,099
fusion-builder 111,077

Top 50 Themes

Theme Count
hello-elementor 964,418
astra 829,891
Divi 785,473
pub 246,901
generatepress 181,057
flatsome 178,571
Avada 165,256
h4 160,564
oceanwp 133,073
kadence 116,705
enfold 97,617
bb-theme 94,519
salient 94,513
twentytwentyfour 91,379
blocksy 91,216
twentytwentyfive 90,926
cocoon-master 86,385
betheme 79,142
twentyseventeen 74,625
woodmart 70,910
dt-the7 64,122
neve 56,497
twentytwentyone 48,766
bridge 47,933
swell 46,064
lightning 41,871
twentytwenty 41,459
twentytwentythree 41,316
Avada-Child-Theme 40,594
gox 38,490
Impreza 33,640
bricks 33,464
Newspaper 31,811
twentytwentytwo 31,339
storefront 25,735
extendable 25,637
epik-redesign 25,593
yith-wonder 25,229
pro 25,188
uncode 24,689
twentysixteen 24,060
themify-ultra 23,734
sydney 23,423
twentyfifteen 22,200
Total 20,953
porto 19,921
hestia 18,657
thrive-theme 17,746
popularfx 17,271
yootheme 17,263