The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Help Highlighting admin comments in wordpress

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #40248

    I’m trying to highlight just the admin comments on a wordpress site. I’ve tried a bunch of tutorials and I’ve had no luck. If someone could help/point me in the right direction it would be greatly appreciated.

    In the comments.php file I’m call ing wp_list_comments

    This is my function in the functions file:

    // Comments Callbacks, Pingbacks and Style
    function cnc_comment($comment, $args, $depth) {
    $GLOBALS = $comment;
  • id="li-comment- ">

    %s says:'), get_comment_author_link()) ?>

    comment_approved == '0') : ?>

    $depth, 'max_depth' => $args))) ?>

  • Thanks in advance,


    Just using the default theme I get a class of `bypostauthor` on any comments that I make. Is that what you’re looking to tie into?

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.