weasello
Member
Posted 6 years ago #
I just upgraded 1.52->2.0 and comments_template(); is working a little funny.
http://www.tehblitz.org/testbed/
If I'm viewing a single post (page view) the comments show up fine with the comments_template command. But if I'm looking at my main page (the link above), comments_template is called but comments.php is never loaded up. Very strange!
Anyone else run into this?
weasello
Member
Posted 6 years ago #
No love?
I've had no luck fixing this.
weasello
Member
Posted 6 years ago #
OK, I resolved it by hacking WordPress. :)
comment-functions.php - this line seems to be the culprit:
if ( is_single() || is_page() || $withcomments ) :
Well there's the problem! Comments will only display if is_single or is_page. My solution was to comment out lines 8 and 46.
If anyone has a plugin that'll do the same thing, that would be great - I don't like modifying the source :)