<?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>
									Conditionally displaying comments - How-to and Troubleshooting				            </title>
            <link>https://wpdiscuz.com/community/troubleshooting/conditionally-displaying-comments/</link>
            <description>wpDiscuz WordPress Comment Plugin Community. Support and Resources.</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 19 Aug 2026 17:45:08 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Conditionally displaying comments</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/conditionally-displaying-comments/#post-21143</link>
                        <pubDate>Tue, 27 Jun 2023 08:03:02 +0000</pubDate>
                        <description><![CDATA[We have not received a reply from you for over a couple of weeks, therefore we will be closing this topic. Please create a new one if you require any additional help.Thank You!]]></description>
                        <content:encoded><![CDATA[<p>We have not received a reply from you for over a couple of weeks, therefore we will be closing this topic. Please create a new one if you require any additional help.<br /><br />Thank You!</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/conditionally-displaying-comments/#post-21143</guid>
                    </item>
				                    <item>
                        <title>RE: Conditionally displaying comments</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/conditionally-displaying-comments/#post-20954</link>
                        <pubDate>Sat, 10 Jun 2023 07:20:02 +0000</pubDate>
                        <description><![CDATA[@solodevelops,
The file is called comment-form.php.]]></description>
                        <content:encoded><![CDATA[<p>@solodevelops,</p>
<p>The file is called <em><strong>comment-form.php</strong></em>.</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/conditionally-displaying-comments/#post-20954</guid>
                    </item>
				                    <item>
                        <title>RE: Conditionally displaying comments</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/conditionally-displaying-comments/#post-20940</link>
                        <pubDate>Wed, 07 Jun 2023 23:35:45 +0000</pubDate>
                        <description><![CDATA[@asti Hey Asti!
 
It&#039;s me again. I am going through my file manager and was wondering if you could tell me which file from the WpDiscuz plugin is responsible for displaying the comments vi...]]></description>
                        <content:encoded><![CDATA[<p>@asti Hey Asti!</p>
<p> </p>
<p>It's me again. I am going through my file manager and was wondering if you could tell me which file from the WpDiscuz plugin is responsible for displaying the comments via using the WP native comment retrieval mechanism?</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Solodevelops</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/conditionally-displaying-comments/#post-20940</guid>
                    </item>
				                    <item>
                        <title>RE: Conditionally displaying comments</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/conditionally-displaying-comments/#post-20852</link>
                        <pubDate>Fri, 26 May 2023 10:00:21 +0000</pubDate>
                        <description><![CDATA[@solodevelops,
Some examples are provided here:]]></description>
                        <content:encoded><![CDATA[<p>@solodevelops,</p>
<p>Some examples are provided here: <a class="c-link" href="https://www.itsupportguides.com/knowledge-base/wordpress/using-wordpress-pre_get_comments-php-action/" target="_blank" rel="noopener noreferrer" data-stringify-link="https://www.itsupportguides.com/knowledge-base/wordpress/using-wordpress-pre_get_comments-php-action/" data-sk="tooltip_parent">https://www.itsupportguides.com/knowledge-base/wordpress/using-wordpress-pre_get_comments-php-action/</a></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/conditionally-displaying-comments/#post-20852</guid>
                    </item>
				                    <item>
                        <title>RE: Conditionally displaying comments</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/conditionally-displaying-comments/#post-20836</link>
                        <pubDate>Thu, 25 May 2023 22:11:09 +0000</pubDate>
                        <description><![CDATA[@asti hey Asti, could I get more support on this please. How would I use `pre_get_comments` to perform a custom filter on the comments before they&#039;re loaded using WpDiscuz? At the moment it&#039;...]]></description>
                        <content:encoded><![CDATA[@asti hey Asti, could I get more support on this please. How would I use `<span>pre_get_comments</span>` to perform a custom filter on the comments before they're loaded using WpDiscuz? At the moment it's just loaded every comment created on every wall page]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Solodevelops</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/conditionally-displaying-comments/#post-20836</guid>
                    </item>
				                    <item>
                        <title>RE: Conditionally displaying comments</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/conditionally-displaying-comments/#post-20810</link>
                        <pubDate>Tue, 23 May 2023 08:08:19 +0000</pubDate>
                        <description><![CDATA[@solodevelops,
Yes sure, you should add the code in the active theme functions.php file.]]></description>
                        <content:encoded><![CDATA[<p>@solodevelops,</p>
<p>Yes sure, you should add the code in the active theme functions.php file. </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/conditionally-displaying-comments/#post-20810</guid>
                    </item>
				                    <item>
                        <title>RE: Conditionally displaying comments</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/conditionally-displaying-comments/#post-20807</link>
                        <pubDate>Mon, 22 May 2023 15:24:54 +0000</pubDate>
                        <description><![CDATA[Hey Asti, 
 
Thanks for getting back to me. I&#039;ll look into using the pre_get_comments hook.
 
Looking at the files within the &quot;wpdiscuz&quot; folder, in plugins, I see one or two files with c...]]></description>
                        <content:encoded><![CDATA[<p>Hey Asti, </p>
<p> </p>
<p>Thanks for getting back to me. I'll look into using the pre_get_comments hook.</p>
<p> </p>
<p>Looking at the files within the "wpdiscuz" folder, in plugins, I see one or two files with comment retrieving functionality. If I was to insert the pre_get_comments logic somewhere, I assume it would be outside of the wpdiscuz folder, perhaps in my functions.php?</p>
<p> </p>
<p>Thanks</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Solodevelops</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/conditionally-displaying-comments/#post-20807</guid>
                    </item>
				                    <item>
                        <title>RE: Conditionally displaying comments</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/conditionally-displaying-comments/#post-20778</link>
                        <pubDate>Fri, 19 May 2023 09:11:02 +0000</pubDate>
                        <description><![CDATA[Hi Solodevelops,
As you may know, wpDiscuz is a native comment system and it uses the same WordPress database tables to store the comments. So this is not a wpDiscuz-related question.
You ...]]></description>
                        <content:encoded><![CDATA[<p>Hi Solodevelops,</p>
<p>As you may know, wpDiscuz is a native comment system and it uses the same WordPress database tables to store the comments. So this is not a wpDiscuz-related question.</p>
<p>You should use the pre_get_comments hook to make it work as you need. More info here: https://developer.wordpress.org/reference/hooks/pre_get_comments/</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/conditionally-displaying-comments/#post-20778</guid>
                    </item>
				                    <item>
                        <title>Conditionally displaying comments</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/conditionally-displaying-comments/#post-20774</link>
                        <pubDate>Thu, 18 May 2023 22:24:48 +0000</pubDate>
                        <description><![CDATA[Currently on my website I have comments enabled to load on my &quot;wall pages&quot;, which are essentially posts. Each wall page is saved as an entry to a unique database and each entry has a unique ...]]></description>
                        <content:encoded><![CDATA[<p>Currently on my website I have comments enabled to load on my "wall pages", which are essentially posts. Each wall page is saved as an entry to a unique database and each entry has a unique ID ("id" column). The comments are all saved in the default <strong>wp_comments</strong> table and I've added a "wall_post_id" column to them, so that the column updates with the value of the id of the wall page for each comment entry.</p>
<p> </p>
<p>I want to only display comments that have matching "wall_post_id" with the id of the current "wall page". I don't know which file to manipulate in the file manager. </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Solodevelops</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/conditionally-displaying-comments/#post-20774</guid>
                    </item>
							        </channel>
        </rss>
		