WordPress.org

Support

Support » Themes and Templates » [Resolved] Theme Unit Test

[Resolved] Theme Unit Test

  • In the “Comment Test” post from the Theme Unit Test that WP gives I dont understand what it means by:
    Author comment is highlighted differently

    It seems like they are all pretty much the same, even on WP approved sites.

    Please explain

    Thanks

Viewing 1 replies (of 1 total)
  • Lance Willett

    @lancewillett

    Themer

    Author comment is highlighted differently
    It seems like they are all pretty much the same, even on WP approved sites.

    davidzs,

    Not all themes have author highlighting enabled, but it’s a recommended practice. Especially for long, long comment lists! It helps you scan the comments quickly and see the author’s replies easily.

    Since WordPress 2.7 the wp_list_comments template tag outputs an automatic class attribute for each comment which can be used to style author comments separately from normal comments.

    If you want to dig into this and create your own author highlighting styles, here’s a great tutorial from ThemeLab: Highlight Author Comments in WordPress, The Easier Right Way.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Theme Unit Test’ is closed to new replies.
Skip to toolbar