OK so I used a technique I found here: http://www.problogdesign.com/wordpress/advanced-wordpress-comment-styles-and-tricks/ to setup advanced, nested comments for effutio.

It all works fantastically untill I used the same technique on another site which used more Pages than Posts. There are two parts to the problem that happened on this site.

Firstly the “Reply” link (allowing you to reply to a specific user comment) didnt work and once the first comment was made on the page the comment form would disappear!

The fix to these bugs are as foloows:

1. In your comments.php theme file replace:


with this


2. In wp-includes/comment-template.php at line 1012 change:

$comment = get_comment($comment);
$post = get_post($post);

to:

$comment = get_comment($comment);
$post = get_post($comment->comment_post_ID);

Upload the updated files and hey presto the comment form shows on pages with a comment and you can now use the “Reply” link to respond to specific comments. Ahhhhhh the world has been put right once again. Incase you are wondering no1 above fixes the comment form disappearance and no2 fixes the Reply link bug!! Enjoy!

0

Leave a Reply

Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Switch to our mobile site

© 2012 Effutio - All Rights Reserved

Perth Web Design - Free Web Host