The only reasonable guesses that come to my mind are that the theme (or a plugin):
- Modifies the main Query with a filter on
pre_get_posts
, so look
for that filter. - Just creates a new Loop with
new WP_Query($args)
. You will have to dig through the template file to find out. - Interrupts the
post_per_page
save process or alter the
posts_per_page
option in the database, so check the*_options
table for theposts_per_page
key (option_name) to rule that out. - The Loop is not calling
the_post
. Without that, the Loop will
never increment to the next post and the loop will run until the
browser gives up.
I’d bet on #1, then #2, with #3 being a distant third. Without more information I can’t give a solid answer.
Item #4 is a very viable option but the problem is not the query itself but the Loop.
Related Posts:
- Get post content from outside the loop
- Using the Loop to show all levels of subpages under a parent page? Halfway there
- Cleanest Way to Select Every Second Element in a Loop?
- How to Change Loop to Order Posts by Views (using wp-postviews plugin)
- Get post by page name or slug
- Is `query_posts` really slower than secondary query?
- Are there any scenarios where the query_posts may be used?
- Display subpages under parent page as a list within a loop
- When to use wp_reset_postdata();
- Why do themes have `while( have_posts() )` in templates like single.php?
- What is best way passing variables to theme templates and using them different places like widgets?
- Apply styling only to first page sticky posts
- Related Posts loop – offset
- Too many nested wp_query loops in this hypothetical query?
- Sorting Woocommerce products with numeric titles [closed]
- Random post, page inside post loop problem
- Using get_term() in functions.php results in Invalid taxonomy error
- Add Infinite Scroll to Ajax Loaded Category Query
- single page site with subpages
- Different Queries Return Same Results [closed]
- wordpress simple loop, huge issues
- Check to see if more than one post
- Pagination gives extra page with no results
- Style first 3 posts differently with a container, then the rest of the posts [closed]
- Loop through all posts in a certain year
- Loop after page content
- the_excerpt not showing posts
- add most viewed post by google analytic in loop [closed]
- Query reset problem or flawed code to enable custom post type query
- Sort posts by most recently modified
- How can I make the loop not count special post formats towards the post count?
- How to show posts with multiple tags on tag.php?
- Exclude posts from main loop based on meta value
- Using an ACF field from a page within a post loop?
- Blog page Server error 500 with stick post loop in query.php
- How to fix pagination for custom loops?
- Show all posts using the template page and the loop?
- Why does `inclusive` not work in this wordpress loop?
- How do I automate multiple category loops?
- Multiple get_posts() queries on one page
- Custom loop not working
- Loop inside query
- Escape current post from loop
- Why isn’t my multiple loops working?
- How can I display other user avatars on an author profile page?
- something strange is happening to my code
- How to modify search.php to not show pages only show posts
- facebook like, tweet and google+1 buttons inside the loop on home, archive and search pages and missing facebook like buttons
- Loop Offset for tag based “Related Posts”
- Show articles in Pair
- How do I put my frontpage featured image in a page template for home.php?
- Randomly display post based on meta value. (Kind of Priority/Weight)
- Make a loop to return x number of posts, but only if they have content or excerpt
- Closing the loop…featured image variable based on post id
- How do you stop the rendering of the website to have something display on the front-end?
- How to print redux gallery feilds id? [closed]
- Why the first with flexslider appears as blank on my code?
- Rendering pages
- add_action in the loop hooks
- How can have a conditional template tag based on the main loop within a secondary loop with new WP_Query(), using get_template_part()
- How to render the single post template with the post name?
- How to filter posts by category INSIDE the loop
- static page with multiple loops breaks post pagination
- new custom theme – posts displaying on top of one another
- Help with if and else statement
- Building a form with WordPress, and also pulling that data for a user page
- Database query and get_user_meta return incorrect data
- Adding a second loop breaks everything
- is it bad to copy the loop for a template?
- I want to load post in bootstrap Modal dynamically
- Why my loop is repeat?
- Excerpts not showing on main page
- dispaly all hierarchical post types from a taxonomy
- Return only one post format in index.php [duplicate]
- How to display just video post format?
- Is it possible to get a post ID of a 2 different custom post types loop embedded in the same post to perform update_post_meta from the frontend?
- Loop shows post 5 times in a query
- Attachment Metadata inside of Loop
- How to execute custom loop before loop content?
- Make custom WordPress comments list
- Template included with plugin doesn’t return all posts for custom taxonomy
- Sorting posts to make those with post thumbnail show up first
- Best way to check if a post with specific meta exists
- Return only content in excerpt field in loop
- Default Template infinite loop of Title
- Adding pagination to WP_Query [duplicate]
- Insert/sticky multiple posts in multiple positions
- get_posts and wp_autop (remove filter)
- Trouble preventing duplicate posts between 2 loops on homepage
- Stuck with conflicting loops on page template
- Change the way wordpress outputs images or image galleries
- How can I access ‘key’ and ‘value’ from an array in a for loop?
- How to get current page id and compare it to looped pages inside the same page?
- Show amount of posts created today above loop?
- How to create WordPress loop with combination of 4 and 2 columns twitter-bootstrap?
- posts_nav_link() not working on index.php
- How to add custom HTML markup and classes to the_content()?
- Error in Wordprewss loop for page template [closed]
- Tags outside the loop
- Use Base-URL with Query-Loop