Iam using wordpress numbered pagination function, it works good I have around 800 posts on homepage, every page i show 8 posts.
So when the user clicks on pagination i want to show 1-8 of 800.
1st post out of 8 total 800
then user clicks 2nd page – i want to show 9-16 of 800
how to implement i researched a lot.
Place the above in your
functions.php
, then call it where you’d like to display the text: