0
votes
1answer
31 views

Get total posts found, but while using limit for pagination? get_posts

I have a ton of posts that I need to get the IDs of based on a custom taxonomy search. As it's used for pagination, I also need to get the total posts without a limit, but I'm not sure how. I use the ...
1
vote
2answers
827 views

Limited number of paging to 10 “pages: 1 … 10”

How to limit the function of paging down to stop at number 10? Eg: pages: 1 2 3 4 5 6 7 8 9 10. function kriesi_pagination($pages = '', $range = 2) { $showitems = ($range * 2)+1; global ...
1
vote
1answer
302 views

Limit the number of pages created by the paging

Any way to limit the number of pages that are created automatically by paging? I would limit to five pages in all, authors, tags, categories ... Ex: "site.com/tag/news/page/5", ...