JUST switched to generatepress. Quite happy so far. 🙂
This is a page that as you can see lists recent posts: https://askleo.com/all-entries-by-date/
The problem is that it includes comments for the last post in the list. That list is generated by a custom shortcode that essentially does a “new WP_Query” and walks the results. My guess is that it’s leaving something open that shouldn’t be? Anyway, if you have any clues that might lead me to fixing the behavior, that would be awesome.
This is in the shortcode function, so there are no globals involved. The only thing I can think of is that perhaps I’m leaving some global state by not walking the full set of restults returned by WP_Query. (There’s a count to limit the length of what gets output.)