Same comments on every post, stumped!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Same comments on every post, stumped!’ is closed to new replies.
The topic ‘Same comments on every post, stumped!’ is closed to new replies.
(@dgaumont)
12 years, 5 months ago
Hello wordpress folk!
I’ve been coming back up to speed with WordPress after several years. I’m technically savvy, at least enough to reverse engineer code, but this one has me stumped. So far everything is working the way I want, except that each post now has every comment from the database attached to it. I can get the correct number of comments to display after each post however, so I know the database isn’t corrupted. I’m likely missing a variable of some kind and I’ve tried everything including several suggestions from the support pages related to what I’m experiencing.
I am not using a template. I am using all this code embedded in the index.php file located in the root of a standard WP install folder which I have called “blog”, since that is the only page that will contain anything blog related. My intention is to use blog functionality within a static HTML design.
Here’s the code. It’s been greatly simplified to only show WP related items.
Thank you in advance!!