[Plugin: WP-Paginate] Display all pages when using conditional in main loop
-
Hi,
The pagination was awesome and work well under normal circumstances.
However, when i try to put in a condition in the main loop(index.php),the pagination will show all post.Eg.
Total i have 100 posts, and i put in a condition checking for post expired by using custom field.When i apply the above,by right there should be 50 posts already expired.And i expecting the pagination show 5 pages instead of 10 pages (using 10 posts per page).But it still came out with 10 pages, after the page 5, it showed no contents/posts.Do anyone have any suggestion for the above scenario?
Appreciate your help and sharing.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: WP-Paginate] Display all pages when using conditional in main loop’ is closed to new replies.