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

Plugin: wp-pagenavi (Used by 71,809 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
a*e*h*s*r*c*v*r*.org βœ… F 2026-05-11 06:26:29
r*g.group βœ… F 2026-05-11 06:26:04
j*e*t*a*r*a*e*t*t*.com βœ… F 2026-05-11 06:25:14
w*l*h*r*e*o*u*e*t*r*.com βœ… F 2026-05-11 06:24:23
k*o*e*b*s*u.jp βœ… F 2026-05-11 06:23:45
s*a*a*u.biz (WP 4.9.3) ⚠️ F 2026-05-11 06:23:44
j*p*n*a*k*t*a*l.jp πŸ”“ F 2026-05-11 06:23:44
g*i*d*a*s*w*.com (WP 6.9.4) βœ… F 2026-05-11 06:21:02
c*t*a*e*t*r*e*.com βœ… F 2026-05-11 06:20:57
i*a*i.ca βœ… B 2026-05-11 06:19:43
a*a*a*u.jp (WP 6.9.4) βœ… D 2026-05-11 06:19:30
r*a*i*e*u*u*e*.org (WP 6.8.5) βœ… F 2026-05-11 06:18:17
5*c*l*a*o.com (WP 4.2.2) ⚠️ F 2026-05-11 06:16:44
v*t*e*v*g*.es βœ… F 2026-05-11 06:15:59
s*e*t*-*t*d*o.com βœ… F 2026-05-11 06:15:24
l*n*a*a*f*r*.com (WP 6.8.5) βœ… F 2026-05-11 06:14:57
b*n*i*s*o*u*o.org (WP 6.9.4) βœ… F 2026-05-11 06:14:28
e*p*r*o*i*o*e*a*r*n*.com βœ… F 2026-05-11 06:13:53
n*b*-*a*a*u*h*.jp (WP 5.1.19) ⚠️ F 2026-05-11 06:13:49
a*l*e*2*1*.w*e*g*n*.com βœ… F 2026-05-11 06:13:44
a*r*e*i*u*o*e.fr (WP 5.2.24) ⚠️ F 2026-05-11 06:13:41
c*n*r*l*o*s.vn (WP 6.7.2) βœ… F 2026-05-11 06:13:41
t*m*e*l*n*m*l*a.com (WP 6.9.4) βœ… F 2026-05-11 06:13:16
t*m*e*l*n*-*a*t*.com (WP 6.9.4) βœ… F 2026-05-11 06:13:15
c*t*a*e*o*e.com βœ… F 2026-05-11 06:12:58
5*8*y*d*c*.com βœ… F 2026-05-11 06:11:55
g*i*d*4*5.com βœ… F 2026-05-11 06:11:35
g*o*e*t*i*a.com βœ… F 2026-05-11 06:11:27
s*e*t*e*a*-*i*e.com βœ… F 2026-05-11 06:11:03
b*s*h*m*s*d*h*.com (WP 6.9.4) πŸ”“ F 2026-05-11 06:10:44
u*-*a*o.pt βœ… F 2026-05-11 06:09:54
t*m*e*h*m*s*l*.com βœ… F 2026-05-11 06:09:49
p*r*m*d*g.com βœ… F 2026-05-11 06:09:40
j*d*-*h*b*.com (WP 6.9.4) βœ… F 2026-05-11 06:09:05
5*6*o*.com βœ… F 2026-05-11 06:08:08
a*d*a*o*d*r*s.com βœ… A 2026-05-11 06:08:07
s*a*u*p*r*.us βœ… F 2026-05-11 06:07:15
k*u*l*.c*.jp (WP 6.9.4) βœ… F 2026-05-11 06:06:54
f*-*u*d*n*-*z.jp (WP 6.9.4) βœ… F 2026-05-11 06:06:53
l*n*s*o*s*t*a*s*o*t.com (WP 6.9.4) βœ… D 2026-05-11 06:06:48
g*i*d*m*n*4.com βœ… F 2026-05-11 06:06:36
g*i*o*t*c*h.com βœ… F 2026-05-11 06:06:34
c*t*a*e*6*.com (WP 6.9.4) βœ… F 2026-05-11 06:06:18
k*-*c*i*o.jp βœ… F 2026-05-11 06:06:02
p*r*m*d*h*r*p*a*t*c.com βœ… F 2026-05-11 06:05:55
t*m*e*f*r*d*i*z*.com βœ… F 2026-05-11 06:05:54
j*c*o*n*k*.com βœ… F 2026-05-11 06:05:40
f*c*r*g*n*i.org (WP 6.9.4) βœ… D 2026-05-11 06:04:37
w*l*f*o*e*y*r*.com βœ… F 2026-05-11 06:04:19
m*i*o*g*r*o*.com βœ… F 2026-05-11 06:03:39
a*l*n*i*-*l*g.it (WP 6.7.5) βœ… F 2026-05-11 06:03:34
s*f*a*d*o*p*i*n*.net (WP 5.2.11) ⚠️ F 2026-05-11 06:03:33
t*l*r*g*o*e*o*i*e.it (WP 6.9.4) βœ… F 2026-05-11 06:02:58
5*4*a*t*n*s.com (WP 6.9.4) πŸ”“ F 2026-05-11 06:02:32
c*n*e*t*s.pl βœ… F 2026-05-11 06:00:11
c*b*e*a*.info (WP 5.6.11) ⚠️ A 2026-05-11 06:00:10
b*s*h*k*s*i*h*o*s.com βœ… F 2026-05-11 05:59:54
b*s*h*k*s*o*d*g*.com βœ… F 2026-05-11 05:59:54
t*c*n*o*.c*.jp βœ… F 2026-05-11 05:59:50
l*n*o*n*i*l*g*s*n*o*l*v*n*.com βœ… F 2026-05-11 05:59:32
l*b*r.1*l*w*e*s.com (WP 5.2.21) ⚠️ F 2026-05-11 05:59:11
w*l*f*o*e*r*n*h*x.com βœ… F 2026-05-11 05:59:08
e*p*s*y*.com βœ… D 2026-05-11 05:56:57
k*a.vn βœ… F 2026-05-11 05:55:42
w*-*c*d*m*.ch (WP 6.9.4) βœ… F 2026-05-11 05:55:36
w*l*f*o*e*d*g*t*l*n*.com (WP 6.9.4) βœ… F 2026-05-11 05:54:57
w*l*f*o*e*b*e*d.com βœ… C 2026-05-11 05:54:57
w*l*f*o*e*1*9*.com (WP 5.3.21) ⚠️ F 2026-05-11 05:54:56
b*s*h*r*a*h*a*t*.com βœ… B 2026-05-11 05:54:56
b*s*h*a*i*g*d.com (WP 6.9.4) βœ… B 2026-05-11 05:54:55
b*s*h*a*i*g*a*d*e*o.com (WP 6.9.4) βœ… B 2026-05-11 05:54:54
g*i*o*t*m*e.com βœ… D 2026-05-11 05:54:36
t*m*e*a*b*r*o*l.com (WP 6.7.5) βœ… F 2026-05-11 05:53:31
a*e*.org βœ… F 2026-05-11 05:53:25
h*i*m*d*k*k*c*i.jp (WP 5.4.18) ⚠️ F 2026-05-11 05:53:15
t*i*g.ws βœ… F 2026-05-11 05:53:14
m*i*o*e*d*r*d*.com (WP 6.1.10) ⚠️ F 2026-05-11 05:52:22
c*t*i*u*c*.com βœ… D 2026-05-11 05:50:40
m*c*e*m*t*s*r*e*t*n*.t*r.ar βœ… F 2026-05-11 05:50:20
5*0*a*k*a*k*r*.com (WP 6.8.5) βœ… F 2026-05-11 05:49:50
5*w*s*r*s*d*n*e*.com βœ… F 2026-05-11 05:49:48
l*w.0*8*o*e.com βœ… F 2026-05-11 05:49:41
m*i*o*d*r*j.com (WP 6.9.4) βœ… F 2026-05-11 05:48:38
m*i*o*d*o*e*-*l*i*l*s.com (WP 6.9.4) βœ… D 2026-05-11 05:48:37
l*n*o*n*a*k*e*s.com (WP 6.9.4) βœ… F 2026-05-11 05:46:50
c*t*t*u*t*i*h.com (WP 6.8.5) βœ… F 2026-05-11 05:46:34
n*f*e*p*r*k*.gr βœ… C 2026-05-11 05:46:20
c*n*t*r*.c*.jp βœ… F 2026-05-11 05:45:30
s*o*z*b*r.ru βœ… F 2026-05-11 05:45:26
t*h*r*-*.com (WP 6.7.1) βœ… F 2026-05-11 05:42:38
s*e*p*e*t*a*.com (WP 6.9.4) βœ… F 2026-05-11 05:42:07
l*n*o*n*e*d*w*s*n*o*l*v*n*.com βœ… D 2026-05-11 05:42:06
c*t*n*h*-*t*d*o.com βœ… F 2026-05-11 05:41:04
h*n*d*-*h*k*k*i.o*.jp (WP 6.9.4) βœ… F 2026-05-11 05:38:43
l*n*o*n*i*e*y.com βœ… F 2026-05-11 05:38:32
c*t*h*m*s*l*s.com βœ… F 2026-05-11 05:35:47
s*e*p*0*t*.com (WP 6.9.4) βœ… F 2026-05-11 05:34:29
s*e*n*o*.com βœ… F 2026-05-11 05:34:28
5*r*c*p*s.com (WP 6.9.4) βœ… D 2026-05-11 05:33:18
w*i*e*a*e*.nz βœ… D 2026-05-11 05:32:34

Top 50 Plugins

Plugin Count
elementor 1,716,439
contact-form-7 1,681,037
elementor-pro 996,327
woocommerce 784,881
revslider 598,482
jetpack 451,944
js_composer 414,848
wp-rocket 314,818
essential-addons-for-elementor-lite 272,081
gravityforms 252,518
complianz-gdpr 231,913
instagram-feed 217,342
cookie-law-info 213,727
google-site-kit 207,390
google-analytics-for-wordpress 207,053
sitepress-multilingual-cms 206,476
header-footer-elementor 203,891
elementskit-lite 192,666
bluehost-wordpress-plugin 188,175
gutenberg-core 158,311
gutenberg 153,863
cookie-notice 133,169
wpforms-lite 129,477
the-events-calendar 123,189
astra-sites 120,795
gtranslate 120,177
litespeed-cache 119,445
popup-maker 112,184
woocommerce-payments 110,091
coblocks 98,058
tablepress 97,421
all-in-one-seo-pack 91,288
astra-addon 89,848
wp-smushit 89,309
honeypot 89,175
LayerSlider 88,882
bb-plugin 88,042
duracelltomi-google-tag-manager 86,680
akismet 83,038
premium-addons-for-elementor 83,030
cleantalk-spam-protect 81,767
mailchimp-for-wp 80,865
megamenu 79,602
woocommerce-gateway-stripe 78,878
fusion-builder 76,482
formidable 75,056
ewww-image-optimizer 73,656
gravityformsrecaptcha 72,980
smart-slider-3 72,895
creative-mail-by-constant-contact 71,887

Top 50 Themes

Theme Count
hello-elementor 584,679
Divi 492,578
astra 410,590
Avada 119,709
flatsome 116,029
generatepress 110,378
pub 109,031
oceanwp 79,553
kadence 73,684
enfold 68,029
salient 64,215
h4 55,926
twentyseventeen 53,939
bb-theme 53,717
twentytwentyfour 52,478
cocoon-master 51,035
betheme 49,649
blocksy 47,526
dt-the7 43,533
twentytwentyfive 42,384
neve 37,257
Avada-Child-Theme 35,746
gox 32,226
twentytwentyone 32,002
bridge 31,779
woodmart 31,377
lightning 29,116
twentytwenty 29,109
swell 27,046
Impreza 24,675
twentytwentythree 24,404
bricks 24,291
Newspaper 21,528
twentytwentytwo 20,141
epik-redesign 19,439
uncode 17,938
pro 17,575
twentysixteen 17,484
storefront 17,127
extendable 16,352
sydney 16,114
yith-wonder 13,979
Total 13,965
voxel 13,207
themify-ultra 12,726
hello-theme-child-master 12,341
hestia 12,185
twentynineteen 12,093
yootheme 11,946
factory-templates-4 11,769