Shape Theme by Ian Stewart problem in custom_comments when making comment_class
-
Some of you may be noticed that the comments list made with the shape’s custom function “custom_comments” wasn’t valid in the W3C because the class for every comment list item was damaged, that’s because the custom function was printing the whole class=”class1 class2″ inside other class=””
Find this line:
<li id="comment-<?php comment_ID() ?>" class="<?php comment_class() ?>">
And replace it with:
<li id="comment-<?php comment_ID() ?>" <?php comment_class() ?> >
I said this here because I didn’t know where to publish it
bye!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Shape Theme by Ian Stewart problem in custom_comments when making comment_class’ is closed to new replies.