Exclude page from require login
-
I’m helping someone setup a restricted portal, but they would like to exclude one page from requiring login to view.
The website is using the PMPro as a part of the theme, and this theme has a function called “Enable login privacy”. When this function is enabled, EVERYTHING redirects to the login page, except for the default sign up page.
We would like to use a different sign up page for sign up, and whitelist this from being redirected to the login page. Is it possible to do so?
We have tried editing the .htaccess and the code for paid-memberships-pro.php file to no avail:remove_action("login_init", "pmpro_redirect_to_logged_in", 5); //add_filter('pmpro_register_redirect', '__return_false'); add_filters( 'pmpro_register_redirect', '/medlemsportal/registrer/' ); //apply_filters( 'pmpro_register_redirect', '/medlemsportal/registrer/' ); remove_action( 'lostpassword_url', 'wc_lostpassword_url', 10 );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Exclude page from require login’ is closed to new replies.