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

Plugin: wp-pagenavi (Used by 84,124 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
i*h*k*w*n*t*u*o.jp βœ… F 2026-04-27 19:58:47
s*r*p*a*e*.jp (WP 4.5.32) ⚠️ F 2026-04-27 19:58:47
i*p*e*t*t*.com (WP 6.9.4) βœ… F 2026-04-27 19:57:51
k*o*o*a*.jp (WP 4.9.26) ⚠️ F 2026-04-27 19:57:40
a*a*i*t*y*m*.co.jp βœ… F 2026-04-27 19:56:37
n*w*o*n*e*i*w*f*o*k*.com βœ… F 2026-04-27 19:56:37
f*m*l*f*r*a*d.org (WP 6.7.5) βœ… F 2026-04-27 19:56:04
m*t*e*p*c.org (WP 6.9.4) βœ… B 2026-04-27 19:56:04
f*m*l*f*r*a*d*r*g*n.org (WP 6.7.5) βœ… F 2026-04-27 19:56:04
c*o*h*e*h*v*n*t*u.com βœ… F 2026-04-27 19:55:30
s*k*r*-*i*e*1*.org (WP 6.5.8) βœ… F 2026-04-27 19:54:53
m*k*a*a*j*f*r*y*h.org (WP 6.9.4) βœ… A 2026-04-27 19:53:38
m*k*p*i*t*e*o.com (WP 3.1) ⚠️ F 2026-04-27 19:53:01
a*r*r*-*i*.com (WP 6.9.4) βœ… F 2026-04-27 19:52:50
a*r*r*-*.com βœ… F 2026-04-27 19:52:49
c*k*i*z*d*.cc (WP 5.9.9) ⚠️ A 2026-04-27 19:51:09
d*p*t*a*t*q*e.com βœ… B 2026-04-27 19:51:02
d*p*o*t*o*o*o*e.com (WP 6.9) βœ… F 2026-04-27 19:51:01
p*m*l*g*m*s.com (WP 6.9.1) βœ… F 2026-04-27 19:50:16
a*r*c*n*e*t*e.in (WP 6.9.4) βœ… F 2026-04-27 19:47:48
p*o*e*h*c*l*e*t*v*.org βœ… F 2026-04-27 19:47:47
s*s*m*t*k*i.net (WP 5.1.4) ⚠️ F 2026-04-27 19:46:48
t*e*i*e*f*i*s*.com (WP 6.9.4) πŸ”“ F 2026-04-27 19:46:44
t*e*0*a*t*.com (WP 6.8.3) βœ… F 2026-04-27 19:45:34
i*p*u*o*n*.com βœ… F 2026-04-27 19:44:59
a*r*g*a*s.com βœ… F 2026-04-27 19:43:21
m*k*n*v*k*s*i.com βœ… F 2026-04-27 19:42:50
m*k*n*v*.com βœ… F 2026-04-27 19:42:50
m*k*n*k*h*l*e*-*t*g*.com (WP 6.9.4) βœ… F 2026-04-27 19:42:49
a*i*n*.net βœ… F 2026-04-27 19:42:42
g*e*t*i*d*e*c*o*l*.org (WP 6.9.4) βœ… F 2026-04-27 19:41:35
k*i*a*e*z*n*s*.net βœ… F 2026-04-27 19:41:34
i*p*a*k*o*.com (WP 6.7.5) βœ… F 2026-04-27 19:41:29
c*o*y*z*.com βœ… F 2026-04-27 19:40:45
c*o*h*n*o.com βœ… F 2026-04-27 19:40:44
m*k*m*t*r*o*t.com βœ… F 2026-04-27 19:38:54
s*v*g*z.com.vn (WP 5.3.21) ⚠️ F 2026-04-27 19:38:51
v*d*o*o*i*o*r*t*c*.com βœ… F 2026-04-27 19:38:13
v*d*o*e*e*i*e.com (WP 5.7.15) ⚠️ F 2026-04-27 19:38:13
οΏ½*οΏ½*οΏ½*οΏ½*οΏ½*οΏ½*οΏ½*οΏ½*οΏ½*οΏ½*οΏ½*.рус (WP 6.2) ⚠️ D 2026-04-27 19:37:19
e*.at-inn.com βœ… F 2026-04-27 19:37:04
k*r*n*o*p*r*o*c.pl (WP 6.4.8) ⚠️ F 2026-04-27 19:36:14
a*r*p*r*.com βœ… F 2026-04-27 19:34:16
y*s*i*a*j*b*.jp βœ… F 2026-04-27 19:33:21
s*m*x.pl πŸ”“ D 2026-04-27 19:33:20
m*k*m*c*a*o*i*z.com βœ… F 2026-04-27 19:32:12
l*c*v.wpengine.com βœ… F 2026-04-27 19:31:18
p*i*o*o*h*-*a*t.com (WP 6.9.4) βœ… F 2026-04-27 19:30:50
g*m*s*o*.com.br βœ… B 2026-04-27 19:30:03
r*d*o.paradigmamedia.org βœ… F 2026-04-27 19:30:02
p*e*a*.nexos.com.mx βœ… B 2026-04-27 19:29:33
s*l*d*d*o*e*a.nexos.com.mx βœ… B 2026-04-27 19:29:33
t*e*o*e*a*b*e.nexos.com.mx βœ… B 2026-04-27 19:29:33
j*s*w*l*e*b*r*.nexos.com.mx βœ… B 2026-04-27 19:29:33
j*r*e*c*s*a*e*a.nexos.com.mx βœ… B 2026-04-27 19:29:33
f*d*r*l*s*o.nexos.com.mx βœ… F 2026-04-27 19:29:33
e*u*a*i*n.nexos.com.mx βœ… F 2026-04-27 19:29:33
d*t*s.nexos.com.mx βœ… B 2026-04-27 19:29:33
c*l*u*a.nexos.com.mx βœ… F 2026-04-27 19:29:33
c*e*c*a.nexos.com.mx βœ… F 2026-04-27 19:29:33
b*o*t*c*.nexos.com.mx βœ… B 2026-04-27 19:29:33
f*o*c*l*r*t*c*a*.com (WP 6.9.4) βœ… F 2026-04-27 19:29:28
f*o*c*a*l*n*e*.com βœ… F 2026-04-27 19:29:27
g*a*c*m*c*n*e*i*o*l*a*.barcelona βœ… F 2026-04-27 19:28:44
m*k*m*s*e*m*n*.com βœ… F 2026-04-27 19:28:39
l*b*l*l*i*a.com (WP 6.8.5) βœ… F 2026-04-27 19:28:09
m*z*h*t*l.lt βœ… F 2026-04-27 19:27:21
w*r*l*s*-*.ru (WP 6.6.5) βœ… F 2026-04-27 19:27:21
a*c*i*o*i*a*a*o*s.com (WP 4.8.25) ⚠️ F 2026-04-27 19:26:59
t*e*i*e*y*u*a*t.com βœ… F 2026-04-27 19:26:46
n*o*r*p*e*t*r*a*n*e*t.com βœ… F 2026-04-27 19:25:58
n*o*r*p*.com βœ… F 2026-04-27 19:25:58
c*o*e*a*.com (WP 6.7.5) βœ… F 2026-04-27 19:25:45
c*o*e*-*o*s*i.com (WP 6.9.4) βœ… F 2026-04-27 19:25:45
g*e*k*e*o.com (WP 6.9.4) πŸ”“ F 2026-04-27 19:25:18
l*b*g*e*t*-*o.com (WP 6.9.4) βœ… F 2026-04-27 19:24:59
l*p*.org βœ… F 2026-04-27 19:24:50
s*n*o*s*i*o*r*.jp (WP 6.9.4) βœ… F 2026-04-27 19:24:49
s*-*.co.jp βœ… F 2026-04-27 19:21:48
c*o*a*u*i*f*i*i*l*e*s*t*.com (WP 5.5.18) ⚠️ F 2026-04-27 19:21:25
c*r*u*i*o*l*n*.ro (WP 6.9.4) βœ… F 2026-04-27 19:18:57
t*e*i*e*t*g*m*s.com βœ… F 2026-04-27 19:18:53
c*o*t*g*.com βœ… F 2026-04-27 19:18:00
c*o*o*i*i*.com βœ… F 2026-04-27 19:17:59
2*c*e*i*g*o*p.com βœ… F 2026-04-27 19:17:38
a*r*c*s.com (WP 6.9.4) βœ… F 2026-04-27 19:17:27
r*m*d*c*d*.org (WP 5.4.10) ⚠️ A 2026-04-27 19:17:25
s*i*o.me βœ… F 2026-04-27 19:16:49
n*n*f*.com βœ… F 2026-04-27 19:16:43
d*i*r*o*t*n.com (WP 6.8.5) βœ… F 2026-04-27 19:16:31
l*b*0*e*i*n.com (WP 6.9.4) βœ… F 2026-04-27 19:15:41
l*n*-*u*t*r.com (WP 6.9.4) βœ… F 2026-04-27 19:11:51
l*b*p*.com βœ… D 2026-04-27 19:11:18
l*b*p*l.com (WP 6.9.4) βœ… F 2026-04-27 19:11:18
l*b*h*l*.com (WP 4.9.26) ⚠️ F 2026-04-27 19:11:17
m*d*a.ali.org βœ… B 2026-04-27 19:10:54
b*z*a*d*i*s.de (WP 5.5.18) ⚠️ F 2026-04-27 19:10:54
b*g*i*l*r.com βœ… A 2026-04-27 19:10:50
t*e*f*t*r*s.com (WP 6.8.3) βœ… F 2026-04-27 19:09:53
m*k*k*o*e*.com (WP 5.6.17) ⚠️ F 2026-04-27 19:09:49

Top 50 Plugins

Plugin Count
elementor 2,368,660
contact-form-7 2,165,742
elementor-pro 1,339,282
woocommerce 1,106,703
revslider 804,310
js_composer 530,877
jetpack 484,639
wp-rocket 389,835
essential-addons-for-elementor-lite 359,758
header-footer-elementor 302,272
gravityforms 287,280
gutenberg-core 285,037
elementskit-lite 282,099
instagram-feed 275,782
google-analytics-for-wordpress 272,178
complianz-gdpr 270,429
google-site-kit 265,816
cookie-law-info 263,112
sitepress-multilingual-cms 237,355
bluehost-wordpress-plugin 222,062
wpforms-lite 208,504
astra-sites 200,980
litespeed-cache 184,041
gutenberg 161,055
gtranslate 160,356
cookie-notice 154,723
coblocks 151,046
the-events-calendar 138,588
popup-maker 130,621
astra-addon 117,526
bb-plugin 116,893
premium-addons-for-elementor 115,563
LayerSlider 114,529
wp-smushit 112,870
mailchimp-for-wp 112,465
tablepress 112,043
duracelltomi-google-tag-manager 102,991
creame-whatsapp-me 101,138
woocommerce-gateway-stripe 99,458
cleantalk-spam-protect 99,356
akismet 98,244
honeypot 97,491
pro-elements 96,302
custom-fonts 95,998
megamenu 95,219
click-to-chat-for-whatsapp 94,671
smart-slider-3 94,485
fusion-builder 93,566
woocommerce-payments 93,551
pixelyoursite 91,524

Top 50 Themes

Theme Count
hello-elementor 769,644
Divi 635,348
astra 614,047
pub 191,746
generatepress 144,742
flatsome 144,379
Avada 142,802
h4 112,219
oceanwp 105,657
kadence 94,582
enfold 82,321
salient 79,395
bb-theme 73,914
twentytwentyfour 71,880
blocksy 68,513
cocoon-master 66,956
twentytwentyfive 66,128
betheme 64,393
twentyseventeen 64,315
dt-the7 53,473
woodmart 50,720
neve 46,795
twentytwentyone 40,531
bridge 39,831
Avada-Child-Theme 38,321
gox 35,982
swell 35,730
twentytwenty 35,365
lightning 35,050
twentytwentythree 32,983
bricks 28,895
Impreza 28,845
Newspaper 26,260
twentytwentytwo 25,826
epik-redesign 22,776
pro 21,533
storefront 21,429
extendable 21,361
uncode 21,205
twentysixteen 20,923
yith-wonder 19,625
sydney 19,495
themify-ultra 18,258
Total 17,405
twentyfifteen 16,409
porto 15,712
hestia 15,361
yootheme 14,498
thrive-theme 14,418
twentynineteen 14,414