I didn’t load the plugin to check and I never use query_posts()
, but perhaps tie_pagenavi()
is depending on the value in the $paged
global variable. Try adjusting that value before (or after) calling query_posts()
. Here is the code to adjust it before calling query_posts()
.
if ( get_query_var( 'paged' ) )
// On a paged page.
$paged = get_query_var( 'paged' );
else
$paged = 1;
query_posts( "paged={$paged}&posts_per_page={$cat_query}" );
if ( function_exists( 'tie_pagenavi' ) )
tie_pagenavi();
Related Posts:
- Problem: ( kriesi ) pagination doesn’t work in homepage [duplicate]
- Page navi for template page
- get_posts custom paging
- How to determine if I’m on the first page of pagination?
- How To create ajaxed wp-pagenavi?
- Limit number of pages in pagination
- pagenavigation not showing the next page just linking back to the main page [closed]
- Custom Page Template for “Older Posts” Pages
- Paginate get related post by author function
- Pagination with get_posts seems to work but links not showing
- Next & Previous (Pagination in this case) Not Appearing
- Get total posts found, but while using limit for pagination? get_posts
- Pagination with $_POST and $_SESSION
- AJAX pagination offset returns same post on adjacent pages
- How can I paginate a list of related posts?
- Pagination stopped working after assigning custom page template to new page (different slug)
- Adding pagination on template page wordpress
- Wp-pagenavi giving page not found on clicking page 2
- How do I make my pagination work?
- Show content based on page number
- Remember form field values with page navigation
- WP Page Navi. 404 error when using posts per page parameter [duplicate]
- Customizing Latest Post Pagination
- Adding paging to get_posts()
- paginate posts on admin page
- pagination links not displaying
- How to add post page pagination to template part?
- Pagination is not working in custom page template
- Only show pagination when post count exceeds show post
- Need help with get_posts pagination
- the paged param is allways 0
- WordPress pagination URL posts not load
- Need help getting this page nav working correctly [closed]
- Pagination with wp_pagenavi not working on custom page
- Separate page for pagination possible?
- Is it possible to paginate posts correctly that are random ordered?
- Changing pagination list class
- How to determine if theres a next page
- WordPress /page/2 404 pagination problem – what to do?
- Paged posts – how to use numbers and next/previous links?
- Why do you need an unlikely integer in paginating?
- How to display pagination links for WP_User_Query?
- How to show a single post on the front page but have normal paging?
- How to add CSS Class to previous_post_link or get previous/next post link URL
- Pagination resolving to first page only
- how to get pagination link url?
- add_rewrite_rule – working fine but broken for pagination
- wp_pagenavi() with custom wp_query()?
- How to get the number of Pages in a single Post Pagination?
- Aggregate comments, with pagination
- post pagination names, not numbers
- How to fix pagination after rewriting url? ie. www.site.com/players/type/pro/page/3/
- How can I make wp-pagenavi work on a custom query built upon a form submission? [closed]
- Display “Page 3 of 5” for a paginated post
- Implementing a general Table of Content across single paginated post pages
- Paginate links with “ugly” and “pretty” permalinks?
- Pagination of RSS2 feed
- Strange paginate_links behavior. First page link is always whatever page I’m on, all other links are correct
- Custom WP_Comment_Query with pagination and orderby?
- Pagination: How do I always show ‘previous’?
- Next/Previous Links in same category
- Single Page View for Paginated Posts
- How can I see all of a post’s comments on a single page as a reader, if pagination is enabled?
- Using paginate_links() to generate “1, 2, 3 … 10, 20, 30, 40… 55” paginations
- Change class=”page-numbers” in pagination
- Check if on last page of paginated post using wp_link_pages
- Varying the number of posts per page from the first one
- Using pagination with get_posts on page type
- List posts based on first letter of posts
- Pagination for sub-pages
- Modifying WP_LIST_AUTHOR Functions to output all users in a grid (and Paginate)
- How to get post pagination like this
- How to paginate a list of tags
- Pagination Not Displaying on Custom Term Archive
- Non existing blog pages are not redirected to 404
- posts_per_page & pagination conflict
- How to implement pagination eg. newer – 3 – 4 – 5 – 6 – 7 – older
- How do I sort multiples pages?
- Custom loop pagination issue ( pagination not showing up )
- WordPress pagination on custom script
- Combining WordPress pagination functions for archives and search results
- Setting pagination for images attached to a post
- Pagination is not working wp_query custom fields values
- Broken pagination
- Pagination on a custom page template
- Passing custom args in paginate_links
- wordpress Static Page pagination
- Static front page with recent posts pagination
- How to ignore or disable nextpage tag?
- Paginate tags page
- how could I get the pagination as I want to when query posts using get_posts function
- Category pagination shows same posts
- How to display next and prev pagination links with WP_User_Query?
- Custom taxonomy list and sortby letter pagination problem
- Paginate a list of users?
- Move pagination numbers above plug-ins
- Allow Users to Choose Pagination or Next/Previous (Combine)
- WordPress Pagination not displaying posts after certain page
- wp_link_page – wrap current page element
- category/category_name pagination 404 error