<?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>
									How to change the &quot;Author&quot; Label for Administrators - Frequently Asked Questions				            </title>
            <link>https://wpdiscuz.com/community/f-a-q/how-to-change-the-author-label-for-administrators/</link>
            <description>wpDiscuz WordPress Comment Plugin Community. Support and Resources.</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 12 Oct 2026 06:50:53 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>How to change the &quot;Author&quot; Label for Administrators</title>
                        <link>https://wpdiscuz.com/community/f-a-q/how-to-change-the-author-label-for-administrators/#post-20858</link>
                        <pubDate>Sat, 27 May 2023 11:11:34 +0000</pubDate>
                        <description><![CDATA[Let&#039;s say the Post Author is also the Administrator of the website. In this case, in the comment section, the user will have an &quot;Author&quot; label when he/she leaves a comment. 

To change the...]]></description>
                        <content:encoded><![CDATA[<p>Let's say the Post Author is also the Administrator of the website. In this case, in the comment section, the user will have an "Author" label when he/she leaves a comment. </p>
3305
<p>To change the label you should use the hook code below:</p>
<pre contenteditable="false">add_filter("wpdiscuz_author_title", function ($label, $comment) {
    global $post;
    if ($comment-&gt;user_id == $post-&gt;post_author) {
        $label = __("***Administrator***", "wpdiscuz");
    }
    return $label;
}, 10, 2);</pre>
<p>Put the code in the active theme functions.php file. This article should be helpful for you:<span> </span><a class="wpforo-auto-embeded-link" href="https://themaverickspirit.com/add-code-snippets-functions-php-wordpress/" target="_blank" rel="nofollow noopener">https://themaverickspirit.com/add-code-snippets-functions-php-wordpress/</a></p>
<p>The<span> red-marked</span> phrase can be changed as you like.   </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/f-a-q/">Frequently Asked Questions</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/f-a-q/how-to-change-the-author-label-for-administrators/#post-20858</guid>
                    </item>
							        </channel>
        </rss>
		