Adding User Role Label Next to Comments in WordPress
- Firstly add the following code to your theme’s functions.php file or you can add to a site specific plugin.
- This function code above the hooks into WordPress filters is used to show comment author name for including user role label.
- Now you can visit any post with comments to see it in action. Comments made by registered users will show their user role next to the comment author name.
- Any comment made by non-registered users will only show comment author name.
To Know more in details Read our Article How to Add User Role Label Next to Comments in WordPress?
You can also contact our WordPress team, feel free to contact our WordPress Technical Support Toll-Free number + 1 844 897 0441. Our WordPress Professional Team will help you to guide you instantly. We are here to help you for resolving your issues.