advanced code snippet search
chendrix on 10/29/10
wordpress wp admin comments author
10/29/10 11:35am
Can now use the class as a styler
<li class="<?php $comment_author_ID = get_comment(get_comment_ID()) -> user_id; $auth_ID = get_the_author_meta('ID'); echo ($comment_author_ID == $auth_ID) ? " author " : "" ; echo (is_super_admin($comment_author_ID)) ? " admin " : '' ; ?>">
Report this snippet Tweet
Comment:
You need to login to post a comment.