This tutorial provides several methods which enable you to style or modify the default comment author if they are also the post author.
The methods include using CSS and PHP code.
The code snippets enable you to :
- Add a icon before the post author name.
- Add text before the post author name.
- Add a custom class to the post author.
- Modify all the default functionality of the post author function in WordPress via the safety of your child theme.
#CSS – Style Post Authors Comments
This CSS enables you to add a icon before the post authors name in the comments which produces this :
Register or login to access all code snippets :