• hoolianv

    (@hoolianv)


    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)
  • Thank you!! Saved my night.

    For those who don’t know, the line to replace is in functions.php.

    Thread Starter hoolianv

    (@hoolianv)

    Hello,

    I used to use the shape theme a lot until I discover the Toolbox theme.

    It’s less obsolete than the shape theme which now doesn’t even appear on the theme search inside de wordpress admin

    cheers!

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.