You probably don’t set the $paged variable correctly. Try to rewrite your code like this:
$paged = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1;
$loop = new WP_Query( "post_type=$post_type&paged=$paged" );
Related Posts:
- get_posts custom paging
- pagenavi shows a lot of pages calculated from all posts in the site with query_posts
- Limit number of pages in pagination
- 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
- 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
- How do I make my pagination work?
- Show content based on page number
- Remember form field values with page navigation
- Customizing Latest Post Pagination
- Adding paging to get_posts()
- paginate posts on admin page
- Page navi for template page
- 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
- Separate page for pagination possible?
- WordPress /page/2 404 pagination problem – what to do?
- how to get pagination link url?
- add_rewrite_rule – working fine but broken for pagination
- Check if on last page of paginated post using wp_link_pages
- How to paginate a list of tags
- How do I sort multiples pages?
- Pagination is not working wp_query custom fields values
- Pagination on a custom page template
- wordpress Static Page pagination
- How to use pre_get_posts?
- Possible to paginate on single.php?
- I want to change the media list with additionally query
- Content only on last page, if the page has pagination
- WordPress API returns empty page when page is less than X-WP-TotalPages
- Display only the current page number and another numbered page in pagination
- How can I paginate image attachments in a post?
- Pagination shows same contents all pages
- How to test pagination? [closed]
- Link to previous month’s posts
- How to get “last year from [spec year] that has posts”?
- Pagination url canonical problem
- WordPress loading index page instead of archive.php
- tag.php pagination and query_posts()
- Add icons in paginate_links()
- How can I use var php with javascript to build custom page? [closed]
- WordPress single page template, custom post type, pagination orderby title – alphabetical order
- Category lists page foreach Paging
- Pagination with an array of post objects?
- Issue on single.php pagination WordPress
- How safe is renovating $wp_query when doing WP_Query pagination in Page Template
- Using Ajax in the prev_posts_link and next_posts_link
- Adding range to wp_link_pages()
- How to set up pagination [closed]
- WordPress triggers 404 on page 2 for custom search query
- Search page pagination does not work
- Pagination 404s on custom query
- Multiple get_posts() queries on one page
- Customise wp_List_pages to output a UL LI
- List all posts in a category with query_post() function
- Custom wp_link_pages for paginated posts | Next page randomly
- Pagination in home page for a custom loop loads same content
- Pagination not working with custom post type
- Displaying the author of next and previous posts in pagination?
- How to ignore pagebreaks for RSS feed?
- Add Filter not working with get_posts
- Pagination For Table Rows on a page?
- Universal CPT archive template and half working pagination
- Custom Articles page only showing a limited number of posts per page
- Problem with older entries in homepage
- WP Page Navi. 404 error when using posts per page parameter [duplicate]
- Pagination for previous page/next page (with more than one post/page)
- Pagination for custom post types
- Pagination in author, category, archive and tags pages does not work
- WordPress pagination with wp_query_columns
- How can I paginate results from get_children
- Setting up Pagination with twentytwelve_content_nav
- Why can i add /page/674874 (or any number) to a URL and it still pulls up that page?
- How to add numbers pagination to this blog page?
- Why next_posts(); function does not work inside header.php?
- Override the WordPress default pagination markup
- Pagination with Metaboxes or Custom Fields
- 2 Columns with Independent Pagination
- Prevent WordPress to remove query vars from url
- Google Indexed sub pages in wordpress pagination in post
- Paginate Links function: Page 1 doesn’t work
- Search engine not working
- pagination for blog landing page
- margins in between pagination links [closed]
- Page navigation not working correctly on index but only on categories
- How to split long posts in multiple pages in twentysixteen
- Duplicating pagination on second page
- How to change `page` slug in pagination? on a specific pagination result (not globally)
- Two pagination in one page without being synchronous
- Change “/” (slash) before page number in pagination path to “-” (hyphen)