<?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>
									Hottest Comment Threads Filter Button - Bug Reports				            </title>
            <link>https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/</link>
            <description>wpDiscuz WordPress Comment Plugin Community. Support and Resources.</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 16 Sep 2026 06:49:49 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Hottest Comment Threads Filter Button</title>
                        <link>https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/paged/2/#post-25009</link>
                        <pubDate>Thu, 25 Jul 2024 18:00:17 +0000</pubDate>
                        <description><![CDATA[I saw that v7.6.22 has fixed the problem and now the filtering buttons are visible only if there is at least one comment.
Thank you very much. :)]]></description>
                        <content:encoded><![CDATA[<p>I saw that v7.6.22 has fixed the problem and now the filtering buttons are visible only if there is at least one comment.</p>
<p>Thank you very much. :)</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>DoctorBR</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/paged/2/#post-25009</guid>
                    </item>
				                    <item>
                        <title>RE: Hottest Comment Threads Filter Button</title>
                        <link>https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/paged/2/#post-24948</link>
                        <pubDate>Fri, 19 Jul 2024 08:59:23 +0000</pubDate>
                        <description><![CDATA[@doctorbrWe will add a new function to the wpDiscuz core code so that if there is only one comment, all filtering/sorting buttons will not be displayed. Please wait for the next update (no E...]]></description>
                        <content:encoded><![CDATA[<p>@doctorbr<br /><br />We will add a new function to the wpDiscuz core code so that if there is only one comment, all filtering/sorting buttons will not be displayed. Please wait for the next update (no ETA yet).</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/paged/2/#post-24948</guid>
                    </item>
				                    <item>
                        <title>RE: Hottest Comment Threads Filter Button</title>
                        <link>https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/paged/2/#post-24926</link>
                        <pubDate>Tue, 16 Jul 2024 19:43:29 +0000</pubDate>
                        <description><![CDATA[Worked, but I would still like to hide the comments sorting buttons too.
Please, could you change that code so that the comments sorting buttons are also hidden when there is only 2 comment...]]></description>
                        <content:encoded><![CDATA[<p></p>
<p>(...) The JS code we've provided should work fine (...) </p>
<p>Worked, but I would still like to hide the comments sorting buttons too.</p>
<p>Please, could you change that code so that the comments sorting buttons are also hidden when there is only 2 comment?</p>
<p>Thanks in advance!</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>DoctorBR</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/paged/2/#post-24926</guid>
                    </item>
				                    <item>
                        <title>RE: Hottest Comment Threads Filter Button</title>
                        <link>https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/paged/2/#post-24924</link>
                        <pubDate>Tue, 16 Jul 2024 19:04:29 +0000</pubDate>
                        <description><![CDATA[@doctorbrThe code doesn&#039;t only affect the wpDiscuz plugin; the addons that may have added filter buttons also require changes.The JS code we&#039;ve provided should work fine.You can also customi...]]></description>
                        <content:encoded><![CDATA[<p>@doctorbr<br /><br />The code doesn't only affect the wpDiscuz plugin; the addons that may have added filter buttons also require changes.<br /><br />The JS code we've provided should work fine.<br /><br />You can also customize the class.WpdiscuzWalker.php file if you're familiar with PHP. More info here:  https://wpdiscuz.com/docs/wpdiscuz-7/customization/custom-template-and-style/</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/paged/2/#post-24924</guid>
                    </item>
				                    <item>
                        <title>RE: Hottest Comment Threads Filter Button</title>
                        <link>https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/paged/2/#post-24920</link>
                        <pubDate>Tue, 16 Jul 2024 11:50:58 +0000</pubDate>
                        <description><![CDATA[@Asti
Any news about this?
Thanks in advance! &#x1f642;]]></description>
                        <content:encoded><![CDATA[<p>@Asti</p>
<p>Any news about this?</p>
<p>Thanks in advance! &#x1f642; </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>DoctorBR</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/paged/2/#post-24920</guid>
                    </item>
				                    <item>
                        <title>RE: Hottest Comment Threads Filter Button</title>
                        <link>https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/#post-24882</link>
                        <pubDate>Sat, 13 Jul 2024 02:32:03 +0000</pubDate>
                        <description><![CDATA[@Asti
I disabled the additional snippet I mentioned and limited your snippet exclusively for posts (location: site wide header).
Errors no longer appear in Lighthouse and I hope I have don...]]></description>
                        <content:encoded><![CDATA[<p>@Asti</p>
<p>I disabled the additional snippet I mentioned and limited your snippet <strong>exclusively for posts </strong>(location: site wide header).</p>
<p>Errors no longer appear in Lighthouse and I hope I have done nothing that harms my site or the wpDiscuz plugin. &#x1f914; </p>
3942
<p> </p>
<p>But I would still like to hide the comments sorting buttons too!<br /><br />Please, could you change your code so that the comments sorting buttons are also hidden when there is only 1 comment?<br /><br />In my opinion it makes no sense to show filters when there is 1 comment. Filters cannot do anything with only 1 comment. &#x1f642; <br /><br />Thanks in advance!</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>DoctorBR</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/#post-24882</guid>
                    </item>
				                    <item>
                        <title>RE: Hottest Comment Threads Filter Button</title>
                        <link>https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/#post-24881</link>
                        <pubDate>Sat, 13 Jul 2024 01:01:24 +0000</pubDate>
                        <description><![CDATA[@Asti
It worked, but Lighthouse accused errors! 
 

What can be done to avoid these errors?
PS. I used your code to create another to hide the comments sorting buttons too...
 
jQuery...]]></description>
                        <content:encoded><![CDATA[<p>@Asti</p>
<p>It worked, but Lighthouse accused <strong>errors! </strong></p>
<p> </p>
3941
<p><br />What can be done to avoid these errors?</p>
<p><br />PS. I used your code to create another to hide the comments sorting buttons too...</p>
<p> </p>
<pre contenteditable="false">jQuery(document).ready(function() {
const commentsCount = parseInt(jQuery('.wpd-thread-info').attr('data-comments-count'), 10);
if (isNaN(commentsCount) || (typeof commentsCount === 'undefined') || commentsCount &lt; 2) {
    jQuery('.wpdf-sorting').hide();
}
});</pre>
<p> </p>
<p>Thanks in advance!</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>DoctorBR</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/#post-24881</guid>
                    </item>
				                    <item>
                        <title>RE: Hottest Comment Threads Filter Button</title>
                        <link>https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/#post-24873</link>
                        <pubDate>Fri, 12 Jul 2024 10:42:24 +0000</pubDate>
                        <description><![CDATA[@doctorbr 
Try this one:
jQuery(document).ready(function() {
    const commentsCount = parseInt(jQuery(&#039;.wpd-thread-info&#039;).attr(&#039;data-comments-count&#039;), 10);
    if (isNaN(commentsCount) ...]]></description>
                        <content:encoded><![CDATA[<p>@doctorbr </p>
<p>Try this one:</p>
<pre contenteditable="false">jQuery(document).ready(function() {
    const commentsCount = parseInt(jQuery('.wpd-thread-info').attr('data-comments-count'), 10);
    if (isNaN(commentsCount) || (typeof commentsCount === 'undefined') || commentsCount &lt; 1) {
          jQuery('.wpdf-hottest').hide();
     }
});</pre>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/#post-24873</guid>
                    </item>
				                    <item>
                        <title>RE: Hottest Comment Threads Filter Button</title>
                        <link>https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/#post-24866</link>
                        <pubDate>Thu, 11 Jul 2024 19:20:25 +0000</pubDate>
                        <description><![CDATA[@Asti
Still does not work.
 

What can be wrong?]]></description>
                        <content:encoded><![CDATA[<p>@Asti</p>
<p>Still does not work.</p>
<p> </p>
3939
<p><br />What can be wrong?</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>DoctorBR</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/#post-24866</guid>
                    </item>
				                    <item>
                        <title>RE: Hottest Comment Threads Filter Button</title>
                        <link>https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/#post-24860</link>
                        <pubDate>Thu, 11 Jul 2024 10:10:54 +0000</pubDate>
                        <description><![CDATA[@doctorbr 
This is a javascript code, not the PHP.]]></description>
                        <content:encoded><![CDATA[<p>@doctorbr </p>
<p>This is a javascript code, not the PHP. </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/hottest-comment-threads-filter-button/#post-24860</guid>
                    </item>
							        </channel>
        </rss>
		