How do you unprotect a page or multiple pages

40 views
Skip to first unread message

Daniel Chatfield

unread,
Jul 20, 2012, 4:57:38 AM7/20/12
to privacy...@googlegroups.com
I would like to remove protection from some pages.

Private Blog Support

unread,
Jul 20, 2012, 5:02:18 AM7/20/12
to privacy...@googlegroups.com
This answer is for version 4.04. 

To unprotect a page change pluginCallbacks.php to:  http://snippi.com/s/wuqi1sk 

You will need to change the ID to the id of the page or post you want to allow.

To find the line where you need to alter it search for 'CHANGE THIS TO THE ID'.

If you want multiple pages change it to this:

if( get_the_id() == (123 or 124 or 125 ) ) {
    $allow
= true;
}

To find out the ID of a page go to edit it and then look in the address bar for the ID.
Reply all
Reply to author
Forward
0 new messages