• aa

    (@kdpuvvadi)


    can i add custom login page as i have custom login page at /login/ and custom register page at /join/ ? if yes then how?

    • This topic was modified 8 years, 2 months ago by aa.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Do you have an answer? i have the same issue.

    if anyone it′s interested it worked for me for the register form…

    Go to the plugin folder, edit the frontend-noajax.inc.php; search for the text: #bawregister#; below where it says… $item->url specify your url:

    $item->url = site_url( ‘***NEW URL HERE***’).

    Hope this helps.

    Thank you

    Works like I needed it to work ??

    Hi, instead of a link, how to redirect on “previous page” ?

    The action only works for register form, How can I edit the Login page to redirect to a custom login page on click

    Better way not to modify the theme use a filter

    The bellow code will use https://your-site/registration-form as registration page.

    and for login/logout the plugin supports using custom page check menu settings.

    add_filter( 'bawregister_item', 'redirect_registration');
    function redirect_registration($item){
    	if (! is_user_logged_in()){
    	    $item->url = '/registration-form/';	
    	    $item->title = 'Registration';
    	}
    	return $item;
    }
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to add custom login/register pages’ is closed to new replies.