WordPress Related Posts messing with comments?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘WordPress Related Posts messing with comments?’ is closed to new replies.
The topic ‘WordPress Related Posts messing with comments?’ is closed to new replies.
(@mpenguin)
16 years, 9 months ago
Hi everyone,
Back when I was still using WP 2.6 or 2.7, I hacked it up (used some PHP I found on the web instead of using a plugin) to display related posts. Anyway, it’s been a while and I forgot exactly what I had done (I don’t really know PHP), but I just realized that my WordPress posts are now displaying the comments from the last RELATED POST, not the post you are viewing. Here’s an example:
http://expatintaiwan.net/2009/06/28/transformers-2-comes-to-taiwan/
You’ll see there are 5 related posts. The last one is “English speakers have it easy.” The comments are then displayed. Only the comments are for the related post, “English speakers have it easy,” not for the Transformers post.
I’ve got the section I think is responsible for the related posts and also the section for the comments, but I’m not sure. If I need to post more, please let me know. I’d appreciate some help in getting this figured out.
If possible, I’d like to delete the PHP Related Posts hack and replace it with a reputable plugin. Then I’d like to get the comments sorted out.
Thanks.