Highlight comments of all the site authors

There’s a filter called comment_class for that : apply_filters( ‘comment_class’, $classes, $class, $comment->comment_ID, $comment, $post_id ); Source Just use the argument comment which is an object and you’ll get $comment->user_id which could be useful to get user role and add your classes. EDIT: add_filter( ‘comment_class’, ‘wpse_253517_comment_class’, 10, 5 ); function wpse_253517_comment_class( $classes, $class, $comment_ID, $comment, … Read more

cancel reply link results in 404 error

Try using this filter to fully modify the link and it’s text: apply_filters( ‘cancel_comment_reply_link’, $formatted_link, $link, $text ); You can modify the proper value depending on your needs. You might also be able to use a preg_replace() to modify the link and add your /blog/ value to it. To remove the link entirely, use: add_filter( … Read more