WordPress.org

Ready to get started?Download WordPress

Forums

Private BuddyPress
Custom Login Page (3 posts)

  1. Wadsworth3
    Member
    Posted 2 years ago #

    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/

  2. Wadsworth3
    Member
    Posted 2 years ago #

    Has anyone else had this problem?

  3. Wadsworth3
    Member
    Posted 2 years ago #

    Sorry. Thought the topic in the following link was regarding the redirect after login, but does seem to be regarding the issue of redirecting to a login page.

    http://wordpress.org/support/topic/plugin-private-buddypress-make-redirect-url-a-changeable-option

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.