You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe somehow the call to comments_template() has $posts set as posts from query ($wpdb->get_results) and hence the comments don't show up properly.
For me I was seeing my single posts displaying comments from various other posts. Changing the names of the variables helped to fix the issue. I have the code on this branch
I noticed the code used to show the "Also read" links uses the variable names
$posts
and$post
.I believe somehow the call to
comments_template()
has$posts
set as posts from query ($wpdb->get_results
) and hence the comments don't show up properly.For me I was seeing my single posts displaying comments from various other posts. Changing the names of the variables helped to fix the issue. I have the code on this branch
https://github.com/notthetup/wp-svbtle/tree/single_namspace_fix
The text was updated successfully, but these errors were encountered: