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:
- Keep featured content post in homepage with original order
- How to get posts published between a date and today?
- How to show related posts by category
- the_author() returns empty string
- Display all posts from specific categories on a page
- Export WordPress Posts and Meta Information in CSV format
- How to exclude latest x posts from a paginated query?
- Display content from a specific category
- How to display posts by current user/author in a custom page template?
- post_name empty after wp_insert_post
- Alter query on edit.php
- how to get permalink using sql
- Query posts distinct authors
- How to get previous 10 days post from a specific date – WP Query
- Number of posts per page setting is not working?
- Post X of Y in single.php / sidebar.php
- WordPress Posts Out Of Order after 3.1 Update
- Query only Posts from Both of Two Category?
- Insert custom div between posts
- Can’t show comments count per post outside loop
- How do I change the gallery that is inserted in the post?
- Only display posts with comments
- How to get new post URL?
- Order post by year DESC and month ASC
- WordPress get posts by date without query_posts
- How to Display Post View Count
- Different amount of posts on homepage than paged pages
- Use Cron to modify posts via sql
- Sql syntax error
- Featured Posts for Category Pages
- WordPress theme ajax have_posts()
- get posts and postmetas in assoc array
- Cannot Update A Post, 404 Error
- New blog template to display only one category
- Function to show random posts from a category
- Convert a complex webpage into WP theme
- Hiding posts in a list from specified categories
- How would I get 1 latest post from a query for 5 posts?
- Filter Posts By Tag
- Can I set and show “important” post in my blog?
- Exclude posts with empty post_content in wp_query
- How do I find which articles are missing a featured image in The WordPress database?
- Improving WP_Query for performance when random posts are ordered
- Bulk update post slugs through database
- Animated gif for a thumbs
- Create dropdown list post
- Posts vs. Pages
- I would like to give special promotion for the first 100 posts in my blog? Can anyone tell me how to do that?
- previewing my posts on static page?
- Exclude newest post from category X but show rest
- Get the most repeated post contents from a search?
- Multiples Empty Posts were created and cannot delete them
- Reset Popular post query?
- Delete WordPress posts from URL list sql query
- Replace ‘published on date’ with ‘modified on date’ on Posts
- Why orderby=”date” does not support manually changed posts?
- SQL query to retrieve all the records that have not indicated category
- What is the standard featured image size?
- Inserting custom data to the_post() during loop
- How To Get Posts With A Specific Word
- How to show single post page as home page
- Why WP_Query(‘showposts=5’) shows only 1 post?
- is there a way to show the the post title after the image?
- Display posts with tag that matches current post title
- Why is querying posts messing up my pages?
- Display all posts that were published before full post on single.php
- Category Foreach keeps looping?
- Why aren’t my posts/pages showing up in my WordPress Theme?
- Blog page not working
- Blog post per page setting conflicting with custom WP_Query?
- How to exclude latest x posts from a paginated query?
- Two loops, one AJAX loop, exclude posts in first loop from second loop, loops are in different files
- How to verify wp user password by sql query in wp? [closed]
- Get ALL post ID’s export list (Only id’s. Php or sql not important )
- Random ajax load only works with posts_per_page set to -1
- How to change the color theme per post?
- Display an author’s posts on his own author page
- Multi row post list
- posts_per_page option limits the number of Gallery items
- How to make multiple sections in home pulling posts category wise?
- Hindi content automatically converting to unreadable language?
- Dynamic archive of posts by date
- Sort Posts Alphabetically Based on Specific Category (Divi)
- How to change url of posts?
- Change permalinks in posts via SQL
- Batch Scanning and Deleting Empty WordPress Posts
- Edit Page button is gone
- How to get a list of all posts and their categories?
- Twenty Twenty-Four: Static Front Page with Post Links
- How to set something to added automatically to the post
- How can I create Woodmart theme “linked variations” through REST API?
- How to speed up WP_Posts_List_Table __construct() Query on a wordpress website with over 1 million posts?
- Show posts assigned to multiple categories in current category page
- 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
- How to show related posts by detecting the current category?
- Display posts on a custom page from only a specific category?
- 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?
- WordPress Post Query Using Custom native MySQL like St_Distance_Sphere