1

I want to highlight author comments in admin panel of WordPress engine. I have many comments on my blog every day, and it's hard sometimes in admin panel to find my own comment.

1
  • Thanks, one more question, is it possible to highlight new comments also? Commented Mar 6, 2013 at 20:14

2 Answers 2

0

This can be achieved with a targeted action hook and a bit of CSS:

add_action( 'admin_head-edit-comments.php', 'colored_comments_so_15232115' );

function colored_comments_so_15232115()
{
    ?>
    <style>.comment-author-USER_LOGIN { background-color: #DFDB83 }</style>
    <?php
}

Replace USER_LOGIN with your login name. And surely, you could add as many users/background-colors as needed.

This CSS is only printed in the Comments page (/wp-admin/edit-comments.php) by using the hook admin_head-$hook_suffix.

0

You can also use a plugin: Comment Moderation Highlights

note: I'm the plugin developer.

Set it so that it looks for your email addresss, pick a color and save. All your comments will be Highlighted within the comments admin.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.