The theme is most likely altering the main query via the pre_get_posts hook, chaning the posts_per_page argument to -1 for all posts, or another higher number.
You can search your theme folder for pre_get_posts to see all the times this hook is used.
A better solution would be to install the Query Monitor. With this plugin installed and active, you get a wealth of information about each page request.
To use it, login as admin and visit your homepage once the plugin is active. The admin bar will have a new options. Click the new option (looks like a bunch of numbers) and choose the “Hooks & Actions” section. From there, select “Pre” from the “Hook” dropdown and it will list all where the pre_get_posts hooks is being called.
Related Posts:
- How to get posts published between a date and today?
- Export WordPress Posts and Meta Information in CSV format
- Query posts distinct authors
- How to get previous 10 days post from a specific date – WP Query
- Can’t show comments count per post outside loop
- Only display posts with comments
- Use Cron to modify posts via sql
- Sql syntax error
- WordPress theme ajax have_posts()
- get posts and postmetas in assoc array
- New blog template to display only one category
- Filter Posts By Tag
- Can I set and show “important” post in my blog?
- Improving WP_Query for performance when random posts are ordered
- Posts vs. Pages
- previewing my posts on static page?
- Exclude newest post from category X but show rest
- Get the most repeated post contents from a search?
- Reset Popular post query?
- Replace ‘published on date’ with ‘modified on date’ on Posts
- Why orderby=”date” does not support manually changed posts?
- What is the standard featured image size?
- How To Get Posts With A Specific Word
- Display posts with tag that matches current post title
- Why is querying posts messing up my pages?
- Category Foreach keeps looping?
- Multi row post list
- How to make multiple sections in home pulling posts category wise?
- Highlight static blog page link in header
- wp_posts table: safely remove unused columns to save database storage
- Query Posts by Custom Field
- Remove Content after
- Display Posts on Custom Page
- Conditionals if tags exist?
- Block editors annoying warnings
- Counter is skipping post when I still want it visible [closed]
- Archive template combined with post slider and regular posts
- How to only publish posts with image in it
- How to identify and hide/remove an element from a WordPress page [closed]
- How to Assign / Move all Deleted post to a category
- Migrate posts from category and sub-category via SQL
- wp_query with ajax
- How to give classname to post if post has no content?
- Images showing up in Post Editor, but not in Published Post
- Custom Articles page only showing a limited number of posts per page
- Custom posts listing widget always returns 1 extra result
- WordPress post filter menu
- Bootsrap carousel for post
- Get postlist for each category using query_posts?
- How to save posts position on homepage after random function?
- Change the background of each post according to the category
- WordPress displays post on subcategory only
- Trying to query all posts in category 4
- Page of posts made to look like homepage
- query for filtering published posts?
- AWS usage queries
- Pull in posts using post meta for REST API
- get posts, run a custom query, and join the results
- Related post not showing table of content
- Displaying all posts from other sites on the network on one site
- Multisite how to display merged posts from two sites and sort by latest date?
- How to show post views shortcode data for each post on Posts List Page?
- WordPress MySQL Search and replace with wildcard?
- Using a meta_value or postdate to to query and orderby
- Assign a day of the week to post, e.g: Assign Monday to post and have it only appear when the day is Monday
- Hiding title of selected post without plugins
- WP_Query to get posts in a specific tag or has post_format
- Make recent post display recent updated, instead of recent published
- How to run select query of post with category and tags?
- Manipulate query to show specific post
- Blog posts not displaying on blog posts page
- Sort / Filter Queries
- Export Posts with specific custom fields by sql
- get_page_by_title() not working if special characters are present
- get “read more” with custom DB query like you would with WP Query
- Ordering posts alphabetically by meta keys and title
- Can’t create posts with WP DB Abstraction Plugin
- How do I control the fallback query after the original query returned cero posts?
- SQL query to remove first image in all posts
- Adding a category at even positions on main loop with modified pagination
- Delete junk text from all the post using my sql command
- wordpress taxonomy results
- How to get alphabetic listing x other posts, based on first letter post?
- How do I get the WordPress post to display the content instead of an image?
- Automatically delete default posts and pages on theme install?
- wp trim function not working
- Change from all posts to specific categories post on main page?
- How do I make it so that WordPress displays the post as a heading, followed by a written excerpt?
- Count words for all posts by all authors
- Word count for all posts of all authors
- Do I need to create a multisite for querying posts from multiple WordPress sites?
- Hindi content automatically converting to unreadable language?
- Dynamic archive of posts by date
- Batch Scanning and Deleting Empty WordPress Posts
- Edit Page button is gone
- How can I create Woodmart theme “linked variations” through REST API?
- Blog page shows the whole blog post instead of the excerpt or summary with the feature image only
- SQL phpmyadmin remove posts from cat id exclude condition
- Why does ‘get_the_ID’ work outside of the loop?
- Is it possible to create dynamic templates for block themes directly from the site editor?
