I think your issue is that wp_pagenavi() is doing pagination based off of the global $wp_query instance instead instance you created. You should either switch to using query_posts() to replace the global query instead, or use WordPress’ built in paginate_links to output the paging.
Related Posts:
- Having trouble generating pagination links on custom query
- How to create an attachments archive with working pagination?
- query_posts and pagination, still stuck after much research
- how could I get the pagination as I want to when query posts using get_posts function
- Filter query_posts by tag slug on “Tag Archive” page (when tag is 2 or more words)
- pagination in author.php template returns 404 error
- How do i paginate query_posts with numeric pagination?
- Pagination on custom query
- How do I make archives.php for one category only?
- Custom posts per page does not work with pagination
- WordPress pagination showing same posts on each page
- How can i display the posts per week in a particular month?
- WordPress pagination with get_posts?
- Using ajax with paging and a custom sub-query
- Custom loops, sticky posts, and pagination nightmare
- Querying posts only if the current page is not paged?
- query_posts pagination will always show identical content
- Can’t get pagination to work for sticky posts only
- How do I use pagination in WordPress?
- Pagination linking to first page
- Query Posts Incorrectly Displaying Tags Archives
- Modify main loop query for paged and meta key
- Post Filter clearing on pagination $_post
- get_next_posts_link() stops displaying at page 4
- Query Posts Creates 404 Error
- WordPress loop problem: Multiple loops, index.php and is_paged causing duplicate posts on next page
- Achieving pagination with `query_posts`
- Create “archives by year and week” by category template
- How to Get All Posts with any post status?
- query_post by title?
- Order by meta value or date?
- Display posts of the last 7 days
- Filtering posts by post meta data
- Custom Taxonomy not working with posts_per_page in new WP_query (pagination problem)
- query_posts exclude a meta key
- Modify main WordPress loop with a parse_query filter
- Multiple Paginations on one Page
- Problem with ‘post__not_in’
- Filter archive.php by custom meta
- Use union/intersection query_posts variables in uri request parameter form?
- query_posts doesn’t order by title
- Custom query with query_posts doesn’t show post without certain meta_key
- Post Title displaying but not in the wrapped HTML I need
- Inserting Post Using wp_insert_post. How to Fill Yoast Plugin SEO Fields
- Post count per (day/month/year) since blog began
- Dynamically excluding current page id
- Skip first post on Category Archive
- Custom post type archive page pagination
- Sort Posts by Multiple Meta Values [duplicate]
- Unable To Get Published posts using query_posts
- Read More is not working in query posts
- Static Front-Page Excerpts
- Setting posts per page in query_posts
- How to reverse the order of WordPress blog posts?
- Tricky WP Query
- tax_query operator woes
- How can i change the output of posts_nav_link();
- Pagination on taxonomy archive pages breaks
- ACF Query meta_values don’t work with ‘offset’
- Make blog page show 10 on first page, 9 on every other page
- Filtering out child category posts from parent category archive not working
- How to retrieve an array of post IDs by a particular value stored in a custom meta’s array
- Query a WordPress page by its title (which has a parent page)
- define orderby URL with meta_key=post_views_count
- Query_posts and attachments
- pagination not working for category.php (custom post types in categories)
- post_parent array doesn’t work
- how to store wordpress loop in array?
- meta_query check for meta value in key which holds an array of values
- Exclude posts by post meta value
- Single-page wordpress theme navigation
- meta tag placement for google verification
- How can I show only 5 posts from the relationship?
- Frontend form with multiple posts
- Way to cache a query for 24 hrs
- Remove Post if Advanced Custom Field is checked to fix paging
- WordPress Query based on random taxonomy
- Displaying and Querying Posts with Featured image
- Meta query stopped working
- Sticky posts don’t show up first in custom loop
- Want Page Descendants when using query_posts post_parent or child_of
- Querying a query
- How do I query based on the modified date?
- How to reverse the pagination numbers of an archive?
- Remove “Page” from Category archive
- My archives page won’t sort posts by month
- How to pass posts_per_page and paged params query vars to custom taxonomy archive urls?
- wp_remote_post and form post
- Custom query posts error
- wp_query by last month + sort posts
- query_posts not working after wordpress 3.7 update
- Is that the query_posts() the real criminal here?
- Paginate WordPress Category Pages
- Query specific posts from parent by slug rather ID
- How to limit the number of posts on the home page?
- query_posts and sub pages?
- How to refine WP-Query with further criteria
- prevent display duplicate titles on main page
- Pagination in category.php not functioning
- Lots of SQL queries