<?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>
									Can we password protect comments? - How-To and Troubleshooting				            </title>
            <link>https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/</link>
            <description>WordPress Plugins Support Forum</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 14 Oct 2026 07:41:42 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Can we password protect comments?</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14435</link>
                        <pubDate>Mon, 25 Mar 2019 10:50:11 +0000</pubDate>
                        <description><![CDATA[Thank you @igkteam for sharing the code.  I really appreciate you taking a time and share this information.]]></description>
                        <content:encoded><![CDATA[<p>Thank you @igkteam for sharing the code. </p><p> I really appreciate you taking a time and share this information. </p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Astghik</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14435</guid>
                    </item>
				                    <item>
                        <title>RE: Can we password protect comments?</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14416</link>
                        <pubDate>Sat, 23 Mar 2019 23:05:09 +0000</pubDate>
                        <description><![CDATA[Hi @Astghik,Just wanted to loop back with a solution on this in case someone else has a similar issue. (The links you provided weren&#039;t helpful. They were not about protecting content using m...]]></description>
                        <content:encoded><![CDATA[<p>Hi @<a style="color: #ff3333" title="Astghik" href="https://gvectors.com/forum/profile/astghik/">Astghik</a>,</p><p><strong>Just wanted to loop back with a solution</strong> on this in case someone else has a similar issue. (The links you provided weren't helpful. They were not about protecting content using membership sites.)</p><p>The way to solve this is to create unique loops for all the pages (single.php and archive.php) and to hide the comment form behind the code that checks if user is logged in.</p><p>In my case, I use Genesis, and this is the code for the single-mycustomposttype.php page (replace mycustomposttype with whatever CPT you've created):</p><pre>remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'genesis_loop', 'child_do_custom_loop' );

function child_do_custom_loop() { 
 if(wp_emember_is_member_logged_in()){ 	<br />   if (have_posts()) : while (have_posts()) : the_post(); 
     &gt;&gt; output title and content (the html tags here mess with my code, so i'm just posting pseudo code for this bit &lt;&lt;
    comments_template(); //make sure you call it inside the loop, and inside the "if you're logged in" check.
    endwhile; 
    endif; 
 }else{ 
   header("Location: /");  // I kick people to the login page if they aren't logged in, so there's no partial page view at all.
   exit(); <br /> } <br />} <br />
genesis();</pre>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>igkteam</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14416</guid>
                    </item>
				                    <item>
                        <title>RE: Can we password protect comments?</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14404</link>
                        <pubDate>Sat, 23 Mar 2019 12:17:08 +0000</pubDate>
                        <description><![CDATA[@Astghik Thank you. I&#039;ll take a look.]]></description>
                        <content:encoded><![CDATA[<p>@<a style="color: #ff3333" title="Astghik" href="https://gvectors.com/forum/profile/astghik/">Astghik</a> Thank you. I'll take a look.</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>igkteam</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14404</guid>
                    </item>
				                    <item>
                        <title>RE: Can we password protect comments?</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14402</link>
                        <pubDate>Sat, 23 Mar 2019 10:54:16 +0000</pubDate>
                        <description><![CDATA[no problem @igkteam,just make sure the function that shows/hides the comments use the comments_template() function. I mean that the manipulations should be done with this function. I&#039;ve foun...]]></description>
                        <content:encoded><![CDATA[<p>no problem @igkteam,</p><p>just make sure the function that shows/hides the comments use the comments_template() function. I mean that the manipulations should be done with this function. </p><p>I've found some articles that should be helpful for you, please check them out: </p><p>https://barn2.co.uk/password-protect-wordpress-plugins/<br />https://wordpress.org/support/article/using-password-protection/<br />https://themeisle.com/blog/password-protect-wordpress/</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Astghik</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14402</guid>
                    </item>
				                    <item>
                        <title>RE: Can we password protect comments?</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14400</link>
                        <pubDate>Sat, 23 Mar 2019 10:15:07 +0000</pubDate>
                        <description><![CDATA[Thank you @Astghik. What membership plugins does this system work with well?I&#039;m sorry, I can&#039;t send you a copy of my site, but is there a place you can direct me in the plugin code to make t...]]></description>
                        <content:encoded><![CDATA[<p>Thank you @<a style="color: #ff3333" title="Astghik" href="https://gvectors.com/forum/profile/astghik/">Astghik.</a> What membership plugins does this system work with well?</p><p>I'm sorry, I can't send you a copy of my site, but is there a place you can direct me in the plugin code to make those edits myself?</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>igkteam</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14400</guid>
                    </item>
				                    <item>
                        <title>RE: Can we password protect comments?</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14399</link>
                        <pubDate>Sat, 23 Mar 2019 09:59:04 +0000</pubDate>
                        <description><![CDATA[ok @igkteam,I&#039;m sorry, but we don&#039;t familiar with this plugin. This depends on how the plugin disabled the comments.We can debug and try to find some solution for you if you install and acti...]]></description>
                        <content:encoded><![CDATA[<p>ok @igkteam,</p><p>I'm sorry, but we don't familiar with this plugin. This depends on how the plugin disabled the comments.</p><p>We can debug and try to find some solution for you if you install and activate the <a href="https://wordpress.org/plugins/duplicator/" target="true" rel="nofollow">Duplicator — WordPress Migration Plugin</a>, backup your WordPress site and send it to infogvectors.com email address to allow us to check it. </p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Astghik</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14399</guid>
                    </item>
				                    <item>
                        <title>RE: Can we password protect comments?</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14398</link>
                        <pubDate>Sat, 23 Mar 2019 09:42:19 +0000</pubDate>
                        <description><![CDATA[Thanks @astghik, the comment form is publicly visible on a protected page. Take a look at my screenshot and settings.]]></description>
                        <content:encoded><![CDATA[<p>Thanks @astghik, the comment form is publicly visible on a protected page. Take a look at my screenshot and settings. 3037,3036</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>igkteam</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14398</guid>
                    </item>
				                    <item>
                        <title>RE: Can we password protect comments?</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14395</link>
                        <pubDate>Sat, 23 Mar 2019 09:30:51 +0000</pubDate>
                        <description><![CDATA[Hi @igkteam,Could you please navigate to Dashboard &gt; Comments &gt; Forums admin page, make sure you&#039;ve disabled commenting for all other roles. More info here]]></description>
                        <content:encoded><![CDATA[<p>Hi @igkteam,</p><p>Could you please navigate to Dashboard &gt; Comments &gt; Forums admin page, make sure you've disabled commenting for all other roles. More info here:</p><p><a href="https://wpdiscuz.com/docs/wpdiscuz-documentation/getting-started/custom-comment-form/comment-form-settings/#disable_commenting_for_roles">https://wpdiscuz.com/docs/wpdiscuz-documentation/getting-started/custom-comment-form/comment-form-settings/#disable_commenting_for_roles</a></p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Astghik</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14395</guid>
                    </item>
				                    <item>
                        <title>Can we password protect comments?</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14391</link>
                        <pubDate>Sat, 23 Mar 2019 09:16:37 +0000</pubDate>
                        <description><![CDATA[I am using wp emember for my membership site and want to use this plugin and its addons for that and other member sites.Unfortunately the comments arent hidden - this plugin ignores emember ...]]></description>
                        <content:encoded><![CDATA[<p>I am using wp emember for my membership site and want to use this plugin and its addons for that and other member sites.</p><p>Unfortunately the comments arent hidden - this plugin ignores emember code that hides the native WP comment forms. I'm sure someone has asked about membership sites before. Any ideas?</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>igkteam</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/can-we-password-protect-comments/#post-14391</guid>
                    </item>
							        </channel>
        </rss>
		