Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter fabbb

    (@fabbb)

    /***** PAGE AFTER REGISTRATION *****/
    add_filter ( ‘woocommerce_registration_redirect’, ‘my_registration_redirect’);
    function my_registration_redirect( $redirect ) {
    $redirect = ‘https://www.site.com/after’;
    return $redirect;
    }

    /***** HOME AFTER LOGOUT *****/
    add_filter(‘logout_url’, ‘projectivemotion_logout_home’, 10, 2);
    function projectivemotion_logout_home($logouturl, $redir)
    {
    $redir = get_option(‘siteurl’);
    return $logouturl . ‘&redirect_to=’ . urlencode($redir);
    }

    Hi, I used the plugin Members Only.

    It is simple to configure and you can add some redirect functions to choose which page you want to redirect after login.

    I hope it will help you.

    Fabbb

    Hi, I ‘d like to make a member only shop with woo commerce. So get the wooC login page directly. I spent 2 days to find a plugin … I tried members, Members access, Membership and I tried s2members but I think it is to hard for me to understand how it works.

    I would like to know how to configure s2members to get the whole entire site redirect to the woocommerce login (login and new user page) ?

    Thanks

    Fabbb

Viewing 3 replies - 1 through 3 (of 3 total)