<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Icon after registered user - How-to and Troubleshooting				            </title>
            <link>https://wpdiscuz.com/community/troubleshooting/icon-after-registered-user/</link>
            <description>wpDiscuz WordPress Comment Plugin Community. Support and Resources.</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 21 Apr 2026 10:29:03 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Icon after registered user</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/icon-after-registered-user/#post-24533</link>
                        <pubDate>Wed, 05 Jun 2024 12:22:27 +0000</pubDate>
                        <description><![CDATA[Great! Thank you!]]></description>
                        <content:encoded><![CDATA[<p>Great! Thank you!</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>gitarrenbog</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/icon-after-registered-user/#post-24533</guid>
                    </item>
				                    <item>
                        <title>RE: Icon after registered user</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/icon-after-registered-user/#post-24531</link>
                        <pubDate>Wed, 05 Jun 2024 10:45:54 +0000</pubDate>
                        <description><![CDATA[Hi,
You can use the hook code below: 
add_filter(&quot;wpdiscuz_after_comment_author&quot;, function ($html, $comment, $user) {
    if (!empty($user-&gt;ID) &amp;&amp; !empty($user-&gt;roles) &amp;...]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p>You can use the hook code below: </p>
<pre contenteditable="false">add_filter("wpdiscuz_after_comment_author", function ($html, $comment, $user) {
    if (!empty($user-&gt;ID) &amp;&amp; !empty($user-&gt;roles) &amp;&amp; is_array($user-&gt;roles)) {

        if (in_array('author', $user-&gt;roles)) { // if user has the role : author
            $html .= ' &lt;img src="https://www.svgrepo.com/show/13644/avatar.svg" width="18" height="18" /&gt;';
        } else if (in_array('editor', $user-&gt;roles)) { // if user has the role : editor

        }
        // and so on..
    }
    return $html;
}, 10, 3)</pre>
<p>Please note it's just an example you should customize it. </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/icon-after-registered-user/#post-24531</guid>
                    </item>
				                    <item>
                        <title>Icon after registered user</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/icon-after-registered-user/#post-24503</link>
                        <pubDate>Sat, 01 Jun 2024 16:32:14 +0000</pubDate>
                        <description><![CDATA[Hello,is it possible to insert a small icon / image after the username for a specific role (registered user)?I can change the CSS file, but I can&#039;t find where the query for the different rol...]]></description>
                        <content:encoded><![CDATA[<p>Hello,<br />is it possible to insert a small icon / image after the username for a specific role (registered user)?<br />I can change the CSS file, but I can't find where the query for the different roles is.<br />Thanks for the help.<br />Stefan</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>gitarrenbog</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/icon-after-registered-user/#post-24503</guid>
                    </item>
							        </channel>
        </rss>
		