Hello,
Yes, it can be done with a bit of PHP code. You can add it to functions.php of your child theme or in your own plugin.
function my_zeno_report_comments_flagging_link_text( $text ) {
$text = '----<br>Report comment';
return $text;}
add_filter('zeno_report_comments_flagging_link_text', 'my_zeno_report_comments_flagging_link_text');
The text needs to be replaced with the character from the FontAwsome documentation. I do suppose you already have FontAwesome set up.
Does this help you?
Regards, Marcel
Hi Marcel!
Thank you for the quick reply. Yes, I have FontAwesome set up on my website and I am using a lot of icons, however the PHP code you gave me only outputs text. So whatever I put instead of '----<br>Report comment' (e.g. '\f024' or '<I class="fa-solid fa-flag"></i>') it will only output the exact text, no icon. Any suggestions?
Regards, Marius
Hi Marius,
I see.
The html <i> element will be escaped, that is no resolve.
I forgot how this all works. There is an .icon class with content:before or something? I really have no clue π
Can you share the address of the website? Then I can take a look and follow the documentation of FontAwesome, see where I get.
Regards, Marcel