Thanks Mark. I’d thought the writing to a post body would be a generic enough question to be helpful to all, but I’ll submit a support request instead.
Thanks Anders, that works perfectly.
Given this is possible, shouldn’t the php code:
<?php
if ( $post == get_post( $post->ID ) ) {
if ( $comment->user_id === $post->post_author )
echo ' — ' . __( 'Post Author', 'hitchcock' );
}
?>
Be some CSS code like the following?
.bypostauthor > div.comment .comment-title::after {
content: " — Post Author";
}
That would allow for the “ – post author” text to be altered/removed without needing to modify the php code.
Thanks again 🙂