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 show related posts by category
- the_author() returns empty string
- Display all posts from specific categories on a page
- How to exclude latest x posts from a paginated query?
- Display content from a specific category
- how to get permalink using sql
- 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
- Order post by year DESC and month ASC
- WordPress get posts by date without query_posts
- How to Display Post View Count
- Featured Posts for Category Pages
- Cannot Update A Post, 404 Error
- Function to show random posts from a category
- Hiding posts in a list from specified categories
- How would I get 1 latest post from a query for 5 posts?
- Exclude posts with empty post_content in wp_query
- Bulk update post slugs through database
- Animated gif for a thumbs
- Create dropdown list post
- I would like to give special promotion for the first 100 posts in my blog? Can anyone tell me how to do that?
- Multiples Empty Posts were created and cannot delete them
- Delete WordPress posts from URL list sql query
- Inserting custom data to the_post() during loop
- Display all posts that were published before full post on single.php
- Why aren’t my posts/pages showing up in my WordPress Theme?
- Blog post per page setting conflicting with custom WP_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
- Order posts alphabetically: how to set order=asc in mysql query?
- How to order posts in an arbitrary order?
- Shortcodes on my website stops working after theme update [closed]
- How to get posts from a current post’s month?
- WordPress query_posts by tag doesn’t work anymore(?)
- do more action after I publish a post
- Retrieve only posts from a specific user in wp-admin/edit.php
- Get the amount of posts on a current page
- Posts – display all posts except a post by an ID
- query post limits
- why the same code got different results when using query_posts in functions.php and index.php
- How to get posts published on the latest date?
- How to change the layout of posts when viewing all posts by tag [closed]
- How to check in functions.php if there is data in a WP_Query?
- Post Filtering by GET URL parameters
- How to create a page that shows the last 10 posts?
- $_GET parametters not working in an specific template
- WP_Query: Show 10 posts in date order, first three random
- Get post by tag
- All categories displays the same posts
- Query function not executed between element [closed]
- Echo the number of posts being displayed
- Exclude a category of posts in author template
- Display specific posts on home page
- Get posts from current category?
- Export all posts to import as product items
- Change content off every sixth element
- Display a specific category in a focused area of my site
- Move position in post list for a custom checkbox column
- Edit post & page option does not display on latest wordpress
- Show posts from two specific category in WP_Query
- SQL DELETE multiple post_meta on single and multi-sites
- How to create loop of posts except post ID defined via ACF field
- How to add a custom class attribute into code wrapper? [duplicate]
- Bulk find & replace on WordPress posts/pages (minus image paths)
- How to display particular categorie’s post which associated to specific user?
- insert post fails after multiple postings
- How to delete/customize imported demo content from a theme or add my own?
- wp_query args with relation
- Adding wordpress posts using phpmyadmin
- How to correctly escape data
- Use special template for the first post in the loop
- Can the_post_navigation() be outside of the loop?
- Repeating post how to solve this
- Sort Events by Venue Title – Sort Post set by related post ids
- Get posts by category or author
- show latest authors blog post
- How to get only current images of a post
- Why I obtain this WP_Query strange behavior trying to select posts having a specific tag?
- How to pass multiple checkbox values to wordpress query?
- Latest Posts not in the right order
- How to get all post titles starting with numbers and symbols?
- How to inject a post within a loop
- wp_query select if have comments
- Creating pages and getting their values from the database table
- Permalink remain the same on each page
- Password protection doesn’t prompt for password on pages
- The page that displays Posts on homepage
- Get posts after calculating meta key
- query_posts different amount of posts per page [duplicate]
- How to remove a date from wordpress post
- wordpress pinboard theme [closed]
- Sort Posts Alphabetically Based on Specific Category (Divi)
- How to change url of posts?