Timeline for How do I password protect a page of posts on Wordpress?
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 28, 2016 at 12:45 | comment | added | user87644 | You have to edit all the post one by one. In edit section you have to change visibility setting there here is the full guideline. | |
Oct 20, 2015 at 7:30 | vote | accept | malakhim | ||
Oct 20, 2015 at 5:56 | answer | added | cybmeta | timeline score: 0 | |
Oct 20, 2015 at 1:07 | comment | added | malakhim | Ah okay, thanks for that - I'll go ahead and give that a try. I can accept your answer if you wish to put it in answer form? | |
Oct 19, 2015 at 10:38 | comment | added | cybmeta |
I think I know what it happening. When you create a page and assign it to "Page for posts" in Settings->Reading, it is not considered a page anymore but an archive. That is why standard password protection doesn't work. You will need to build the latest posts page at your own, for example using a page template and/or pre_get_posts action.
|
|
Oct 19, 2015 at 10:02 | comment | added | malakhim | The only things I've changed in the default WP install is that I've added a CSS and JS file to the header to add my own changes, but that's it. Definitely no PHP. | |
Oct 19, 2015 at 9:59 | comment | added | malakhim | I've disabled all plugins, switched to default twentyfifteen theme and that still happens. | |
Oct 19, 2015 at 9:35 | comment | added | cybmeta | In that case, it must be something broken in your WP installation. You should try to fix it instead of asking how to password protect a page because that feature already exists in WP. Deactivate all plugins and switch to a default theme. Check if password protect works correctly and then activate the plugins one by one and switch to your theme; this way you can isolate the plugin/theme where the problem come from. | |
Oct 19, 2015 at 9:14 | comment | added | malakhim | Sorry for the vagueness... I mean the page still shows all its contents without asking for a password. It's as if I had set "Public" on the admin panel for the page. | |
Oct 19, 2015 at 9:11 | comment | added | cybmeta | What exactly do you mean with "setting "Visibility: Password protected" isn't doing anything"? It is a built-in feature in WordPress that works for everyone else. Can you explain in more detail? | |
Oct 19, 2015 at 9:00 | answer | added | Ashok Dhaduk | timeline score: 0 | |
Oct 19, 2015 at 8:53 | review | First posts | |||
Oct 19, 2015 at 9:43 | |||||
Oct 19, 2015 at 8:49 | history | asked | malakhim | CC BY-SA 3.0 |