I had installed the “Facebook Comments for WordPress” plugin. This plugin attaches a filter to the_content();
. The filter contains the line wp_reset_query();
. Commenting this out fixes the problem (this is sub-optimal though, because, now the client will be unable to update the plugin).
Related Posts:
- How can i display the content in plaintext
- Content/Excerpt length control for a specific loop?
- Combining the_excerpt with the_content
- Get excerpt using get_the_excerpt outside a loop
- Split Content and Gallery
- remove tags from the_content
- How to force excerpts / teasers in the loop
- the_content and wp_link_pages
- Add Incrementing ID to each paragraph in the_content
- Use the_content outside the loop
- get_the_content not working in loop?
- Exclude filter on front page
- Can I use both a custom excerpt and a trimmed excerpt?
- the_content() seems to block my ACF-code
- Removing the_content() from the page
- How to make post content from each post display within the same div
- Loop after page content
- the_excerpt not showing posts
- Using get_the_excerpt() Before The Loop
- Only display videos and images in the_content() within loop
- Styling text and images in the_content()
- Cannot retieve the_content() and the_author() – both returning empty strings
- Unable to change the “Read more” text inside the_excerpt
- How to get the excerpt for is_home() outside of the loop isn’t working
- How do I pull excerpts from pages?
- has_excerpt() not working inside wp_query
- How is WordPress changing the content markup?
- “the_excerpt” in loop just keeps repeating first post?
- Problem in replacing the_content with the_excerpt()
- Insert content above an embedded video inside Wordress’ php the_content
- Only Show Excerpt After First 3 Posts
- Excerpts not showing on main page
- Split Content and Gallery
- Excerpt isn’t working or am I missing something?
- the_content() keeps repeating itself
- Echo Most Recent Sticky Post in Loop?
- to get a little more content after ‘read more’ inside loop
- Limit article to 100 characters. Can’t use the_excerpt…
- Making a specific page wordpress compatable that is not index
- Return only content in excerpt field in loop
- how to use custom loop in the_content filter
- change the_content images for different sizes (Desktop, tablet, mobile)?
- Have multiple loops on a page appear after/between page content
- How to add excerpt in loop in Twenty Eleven theme?
- In Loop Output Place Custom Field Content In Between Paragraphs
- Help with add_filter(‘the_content’, ‘some_function’) and multiple matches
- Single Loop With Dual Content Area
- How to add custom HTML markup and classes to the_content()?
- Excerpt all post content Content Same Size without word cutting off
- the_content() “crashes” for single pages
- Hide old posts each year
- Get date of last update outside of loop
- WordPress category & taxonomy loop with pagination
- Changing behavior of the loop twice in one page
- Displaying child page content of a certain parent
- Pagination adding extra posts only on page 2
- If Loop has odd number of posts on last page Custom style for last post in it
- Function to show only first instance of shortcode
- How can I use get_permalink() outside the loop?
- Custom search form to display users only
- How to order posts by meta_value created inside loop?
- Problems with loop
- Combining action and filter?
- Calling & display certain product category loop and pagination on the homepage
- Display Authors in a grid loop
- show random image in loop if image is not set
- Get Page content to displayin Bootstrap Modal
- Does WordPress Loop have a function like Shopify’s cycle?
- How to show more random posts if Tag has less than 3 posts
- Add leading zero to current post display [closed]
- Distribute Gallery Images Every nth in Loop
- Is there any good reason for two CSS files to @import each other?
- Single.php the_excerpt loads same as the_content not loading read more line
- Random post link generator messes up the loop
- how can i order the category by date
- excerpt not showing up
- Pagination for two loops
- Announces with different formatting dependently on a number
- Override orderby to create list of users by custom meta_value
- Thumbnail Image Rounded Corners w CSS (or any other good method)
- Several loops in sidebar issues
- List page is showing 404
- Duplicated tag in loop
- Loop only shows first two posts
- Why is my archive page looping through all but one post?
- Loop two different category WP_Query
- Auto generate excerpt from ACF field on a CPT that does not support excerpt or content
- My WordPress installation doesn’t load correct template
- adding tax_query to $query_string
- Remove posts_orderby filter then add it back in
- the_title() Returns the page title instead of the post
- WP update_post_meta link loop
- Conditional Check in The Loop’s Parameters
- How does the JSON API work to parse incoming JSON and fetch a post based on an ID?
- How to show only the date, the title and a little “summary” of my WordPress post in my custom theme?
- How to implement template file and the loop
- Show only posts from todays date [duplicate]
- Why did my most recent article fall behind an older one on my site?
- Divide loop into several columns based on post custom field and enable infinite scrolling
- Query Loop Block: possible to restrict just child pages?