Name Display Features for Wordpress Comments Plugin

AI-generated summary

The discussion revolves around suggesting features for a WordPress comments plugin. SkyeDragon proposes two features:

  1. An option to display users’ full names instead of their usernames for better readability and consistency.
  2. Adding a special CSS class to staff usernames for highlighting and indicating official or trusted replies.

NateDhaliwal suggests using the .staff class in CSS for the second feature, but SkyeDragon reports that this class is not present in their WordPress-generated HTML. NateDhaliwal acknowledges the misunderstanding, and SkyeDragon assures it’s not a concern.

I would like to suggest a pair of features for the wordpress plugin for commenting:

  1. An option to show the user’s ‘Full Name’ field instead of their username. For communities that use display names (when available), these are likely to be easier to read and more friendly. Additionally, this helps with consistency between forum and blog comments.

  2. Username from staff to have a special CSS class added. This allows adding special highlighting for staff to help indicate a reply may be official or more trusted in nature.

Thanks for reading :slight_smile:

IIRC this can be done with the class .staff in CSS.

Hmmm, it’s not coming through for me. My wordpress generates:

<article class="comment-body">
	<footer class="comment-meta">
		<div class="comment-author vcard">
			<img alt="Avatar for Skye" src="https://forum.example.com/user_avatar/forum.example.com/skye/64/3_2.png" class="avatar avatar-64 photo avatar-default" height="64" width="64">
			<b class="fn"><a href="https://forum.example.com/t/test-post-for-discourse/57" rel="external" class="url">Skye</a></b>
			<span class="says screen-reader-text">says:</span><!-- screen reader text -->
		</div>
		<div class="comment-metadata">
			<time datetime=""></time>
		</div>
	</footer>
	<div class="comment-content"><p>Test comment.  This is a test comment with <strong>bold text</strong>.</p></div>
</article>		

(No .staff)

Whoops, I think I misunderstood.

No worries :slight_smile: