I have a function which named kriesi_pagination this is a function for showing page numbers in php. I wrote the codes in function.php for my site. And I call this function in index.php for showing the page numbers in index. I use this code in index : <?php kriesi_pagination(); ?>
Now the question is what should I do if I want to show the page numbers in other places such as category. It just show the page numbers in home page of site not any other places.
I want to have page numbers for the categories like sports, musics, technology, …..
By the way I use wordpress cms for my website.
Please help me to solve this problem
Thanks in advance
You should be able to use the query var value for paged to get the current page number: