• Hi,

    I have edited my theme in WordPress to show the 20 most recent comments to each post on the post list. Works fine and all.

    However I have nested comments enabled on my WP and would like to show nesting within the 20 recent comments. That is being if a comment is a reply to another comment which is in the recent 20 comments then nest the comments appropirately.

    I know this needs to be recursive as potentially the 20 recent comments could each be a reply to each other.

    I do not need to worry about the ultiamte parents of each comment, just the parents of the comments which are in the recent 20. So for example if I have a comment which is a reply to a comment which is not in the recent 20, then it is not nested.

    Are there any existing hacks for this functionality? Or could someone possibly point me in the right direction to achieve such functionallity?

    Thanks for your time.

The topic ‘Showing nested recent comments in post view’ is closed to new replies.