so it was $wp_query->set('nopaging', true);
Which was set in a pre_get_posts function. I never thought of searching for this.
I’ve added
if(!is_admin()){
// code
}
So it doesn’t run in the admin.
Related Posts:
- Change Posts per page count
- Change label of title field for posts in the backend
- Exclude drafts in all() view of edit.php
- List latest posts in WP-Admin
- Open WordPress ‘Add New Post’ admin page with parameters set via $_GET
- Setting pagination for images attached to a post
- Pagination not working on Custom Page Template
- How to get new post URL?
- Add confirmation popup on “Move to Trash”
- Embed WordPress Admin in an iframe
- Can’t publish, edit or delete posts since Gutenberg update
- Different amount of posts on homepage than paged pages
- JetPack Infinite Scroll not working on custom theme
- Add filter-by-tag in the all posts admin console page
- How to place HTML below the title of the (custom) post overview
- How do I allow users to follow a post and then allow admins to email all users who have followed that post?
- Load posts into sidebar and paginate via ajax?
- When paginating a Page with the tag, how can the 2nd and subsequent page styles be customised?
- A way to detect which page a post is on
- Custom Theme Want To Remove One Category From All Displays
- Converting multiple loops into one single loop with pagination
- Unwanted Duplicate Posts Showing in Pagination Pages
- Is it possible to change the admin posts per page view?
- Lazy Load using WP_Query pagination
- Pagination on single post page?
- Diplay comment date on WP_Post_Comments_List_Table
- Change default Posts page
- Should $found_posts be returned as string in ‘found_posts’ filter hook?
- Getting content from a single *page* of a post
- How do I detect which page I’m on within a paginated post?
- Duplicating Table of Contents for Paginated Post
- I am unable to publish/update post
- Disable inline_edit() on edit.php
- Blog post per page setting conflicting with custom WP_Query?
- How to Restrict Previous & Next Post Link to Posts of Same Category?
- pagination for single post by category
- 301 (static page instead latest posts)
- How to : pagination in 3 different custom loops on the same page
- Start WP Pagination From Number 1 in URL
- Use two different post_per_page limits with infinite scroll
- Retrieve only posts from a specific user in wp-admin/edit.php
- Adding an Archive button to posts page for administrators
- using is_paged for hiding image on posts
- Develop Admin Panel Page
- Change post-slug using wordpress API? Change permalink of a post using php / jquery?
- Fast publishing in wordpress
- Total number of posts in query (category/tag/author/search results/main page…)
- Which file do I need to edit the All Posts page in the admin area?
- Only show featured image on first page of paginated posts
- Getting blog pagination to work on page set as front page
- How do you search for a post or page with a certain url on the WordPress admin panel?
- Change the color of the Password Protected Post titles
- Change the number of excerpts displayed in search results layout
- Bolding several words at once
- Pagination for posts inside a specific category
- Rest API Paginate until all posts are imported
- Blog Posts – Scroll to view more
- Cannot create new posts or upload images using media manager
- ‘QTags.addButton: arg2 distorts the button rather than just shows
- Manipulated offset and pagination, can’t display last post anymore
- Blog posts pagination not working
- Search results with pagination not working
- Redirect old Posts URL to new URL
- Go back to the exact post page number
- Pagination Not Working With Custom Post Type Category
- Pagination Stops
- Remove pagination if search returns empty
- Remove status ‘archived’ from the default post and page view
- Redirecting to “All Posts” after post publish or update
- Count posts for pagination
- Can I Paginate Post after every 25 tag?
- Set featured image on creating new post
- Blank page after changing number of post displayed in wp-admin
- How can I filter the post of a CPT by taxonomy Term in admin meta-box dropdown?
- issue in wordpress auto delete post and redirect to another 1
- How to enable comments meta box for other author posts?
- Post preview in iframe without saving the post
- Thumbnail With Next/Prev Links Not Showing Next Post?
- I moved my site to another server, wp admin works so does the front page, but posts don’t work
- How to change the publishing date of each posts?
- Pagination and Related Posts
- Pagination for custom query won’t let me back on page 1
- how to show posts on different pages if number of post per page is one
- Can’t get pagination to work
- How to display a paginated list of posts from one category on a page? [duplicate]
- How to inject a post within a loop
- The next_posts_link() works only with original $wp_query
- Error establishing a database connection
- Not displaying any articles on a custom made file
- Limit amount of pages shown in pagination within wp_query
- Page not found after clicking on pagination
- Enqueue CSS on custom posts’ backend area
- Single post pagination
- What does WordPress mean by they have full rights to content [closed]
- Add News Feed to bespoke website, only to one page on whole site
- Post Format Status [closed]
- Set Featured Image of a post
- Parameter for pagination posts_pagination
- /wp-admin/admin-ajax.php Error 500 while using divi premade layout in existing pages
- How to restore post to pending status (no draft)