I am trying to convert a theme to include indented comments using wp_list_comments but am having difficulty resolving issues pertaining to changing the background color of a comment using a callback function. The behaviour for Microsoft comment 3 illustrates the problem on http://www.robertbaptie.byethost24.com. If I change the initial comment from ‘alt to ” then the problem occurs not with the first comment but with the second?
Any help here will be appreciated.
Here is the code as it currently stands: function.php: [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
comments.php
[Code moderated.]
The topic ‘Problems in converting template to indented comments with wp_list_comments’ is closed to new replies.
(@bapo_10hotmailcom)
12 years ago
I am trying to convert a theme to include indented comments using wp_list_comments but am having difficulty resolving issues pertaining to changing the background color of a comment using a callback function. The behaviour for Microsoft comment 3 illustrates the problem on http://www.robertbaptie.byethost24.com. If I change the initial comment from ‘alt to ” then the problem occurs not with the first comment but with the second?
Any help here will be appreciated.
Here is the code as it currently stands:
function.php:
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
comments.php
[Code moderated.]