[resolved] Get special comment styling for editors (3 posts)

  1. Jeremy Herve
    Posted 4 years ago #


    I am facing a small issue styling comments for a custom theme: I would like to be able to style comments differently for all users having the "editor" role. However, as far as I know only 2 dedicated css classes exist today:

    • byuser, for all registered users
    • bypostauthor, for the author of the entry

    Is there a way I could manage this somehow?

    Thank you for your help!

    Source: Core comment-template file in trunk

  2. Chip Bennett
    Theme Review Admin
    Posted 4 years ago #

    Here is an older (but, as far as I can tell, still valid) method:

  3. Jeremy Herve
    Posted 4 years ago #


    Thank you Chip, that's exactly what I was looking for. I will give it a try!

Topic Closed

This topic has been closed to new replies.

About this Topic