https://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2019-03-11T20:28:47ZCUNY Graduate Center - Project Tracking SystemCUNY Academic Commons - Support #11208: Password Protected Page Not Working when page set to page_for_postshttps://redmine.gc.cuny.edu/issues/11208?journal_id=426352019-03-11T20:28:47ZBoone Gorgesboone@gorg.es
<ul><li><strong>Tracker</strong> changed from <i>Bug</i> to <i>Support</i></li><li><strong>Subject</strong> changed from <i>Password Protected Page Not Working</i> to <i>Password Protected Page Not Working when page set to page_for_posts</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>scott voth</i></li></ul><p>I'm afraid this is just a limitation in the way that page passwords work. It's only meant to protect the content of pages. When you set the page as the "Posts page" at /wp-admin/options-reading.php, you're no longer displaying the page content at all - you're just hijacking the URL of the page.</p>
<p>I'm assigning this ticket to Scott in case he's aware of a way to password-protected the post archive. My guess is that there is not, and the only option is to make the entire site non-public (Site Visibility at /wp-admin/options-reading.php)</p> CUNY Academic Commons - Support #11208: Password Protected Page Not Working when page set to page_for_postshttps://redmine.gc.cuny.edu/issues/11208?journal_id=426772019-03-12T15:13:07ZLaurie Hurson
<ul></ul><p>Thanks for this explanation Boone.</p>
<p>Would a possible workaround be to PW protect a category archive (maybe with this plugin <a class="external" href="https://wordpress.org/plugins/access-category-password/">https://wordpress.org/plugins/access-category-password/</a>) and then set that category as default in settings?</p> CUNY Academic Commons - Support #11208: Password Protected Page Not Working when page set to page_for_postshttps://redmine.gc.cuny.edu/issues/11208?journal_id=426962019-03-12T17:47:15Zscott vothscott.voth@verizon.net
<ul></ul><p>Hi Laurie - That plugin looks good, but I think you can also create a password protected page and then use a shortcode ("[su_posts]" using the "Shortcodes Ultimate" plugin that displays all the posts.</p>
<p>Or you could do the same with Gutenberg and add a widget (but I think right now you can only use 3 widgets and the "recent posts" widget is pretty limited - just shows title and date of post.)</p> CUNY Academic Commons - Support #11208: Password Protected Page Not Working when page set to page_for_postshttps://redmine.gc.cuny.edu/issues/11208?journal_id=427002019-03-12T19:39:57ZBoone Gorgesboone@gorg.es
<ul></ul><p>I like Scott's idea - this seems like maybe the best and easiest way to hide a category archive.</p> CUNY Academic Commons - Support #11208: Password Protected Page Not Working when page set to page_for_postshttps://redmine.gc.cuny.edu/issues/11208?journal_id=427032019-03-12T19:47:23ZLaurie Hurson
<ul></ul><p>Thanks for this suggestion, Scott. I will try it out and report back.</p> CUNY Academic Commons - Support #11208: Password Protected Page Not Working when page set to page_for_postshttps://redmine.gc.cuny.edu/issues/11208?journal_id=429462019-03-26T15:42:28ZBoone Gorgesboone@gorg.es
<ul><li><strong>Target version</strong> set to <i>Not tracked</i></li></ul> CUNY Academic Commons - Support #11208: Password Protected Page Not Working when page set to page_for_postshttps://redmine.gc.cuny.edu/issues/11208?journal_id=429912019-03-27T19:08:35Zscott vothscott.voth@verizon.net
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Resolved</i></li></ul>