Thanks Kevin. Here is my code. Working great on the listed pages, just not the main page. And yes, I’m using home URL already due to my temp domain:
https://4b9.ddd.myftpupload.com/
function my_forcelogin_whitelist( $whitelist ) {
$whitelist[] = home_url( ‘/current-member-districts/’ );
$whitelist[] = home_url( ‘/about/’ );
$whitelist[] = home_url( ‘/how-to-become-a-member/’ );
$whitelist[] = home_url( ‘/upcoming-bid-specifications/’ );
$whitelist[] = home_url( ‘/contact-us/’ );
$whitelist[] = home_url();
return $whitelist;
}
add_filter(‘v_forcelogin_whitelist’, ‘my_forcelogin_whitelist’, 10, 1);