WordPress.org

Support

Support » Plugins and Hacks » Private BuddyPress » [Plugin: Private BuddyPress] Custom Login Page

[Plugin: Private BuddyPress] Custom Login Page

  • Love the idea of this plugin! How do we set a custom login page (not wp-login.php)?

    We were using this from the WordPress Codex. Guessing we need to edit private-buddypress.php here:

    // Redirect to login page if for current page a [?] is required
    			elseif ( $this->LoginRequired() ):
    				$loginPage = apply_filters('pbp_redirect_login_page', get_option('siteurl') . '/wp-login.php?redirect_to=' . $redirect_to, $redirect_to);
    				wp_redirect($loginPage);
    				exit;
    			endif;
    		endif;

    What is the best way to do it? Many thanks for help!

    http://wordpress.org/extend/plugins/private-buddypress/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Private BuddyPress] Custom Login Page’ is closed to new replies.
Skip to toolbar