Forums

Shape Theme by Ian Stewart problem in custom_comments when making comment_class (3 posts)

  1. hoolianv
    Member
    Posted 7 months ago #

    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!

  2. nothin7
    Member
    Posted 4 months ago #

    Thank you!! Saved my night.

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

  3. hoolianv
    Member
    Posted 4 months ago #

    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!

Reply

You must log in to post.

About this Topic