Hi there!
Adding numeric pagination manually would take a bit of work – I found this tutorial that should point you in the right direction. It will require some comfort with PHP and WordPress theming.
The other option is to use a plugin, like you’ve mentioned.
I just tested WP-PageNavi with the Button theme and it worked for me, perhaps give that one a try?
https://ww.wp.xz.cn/plugins/wp-pagenavi/
You will need to add a call to your code for it to work.
First step will be to set up a child theme.
Then you can make a copy of index.php into your child theme folder.
In that copy, replace this:
<?php the_posts_navigation(); ?>
with this:
<?php
if ( function_exists( 'wp_pagenavi' ) ) {
wp_pagenavi();
} else {
the_posts_navigation();
}
?>
That checks to see that the plugin function is there, and falls back to the theme’s default navigation if it’s missing. This way, if you ever uninstall the plugin, things won’t break on you 🙂
If you run into trouble with WP-PageNavi, there’s a special forum where you can ask for help from the plugin developer/other users:
https://ww.wp.xz.cn/support/plugin/wp-pagenavi
Hi Chad
Awesome, thank you very much!!!
I know now why the plugins didn’t work….. I was used to the fact that a plugin worked after installing and activating, like I had experienced in the past.
So I was not aware of the fact that I had to adjust index.php as well …
I did and it works, I am superglad, thank you!!