How to overide the default Login Page

This topic contains 2 replies, has 2 voices, and was last updated by  Suleiman Ndakpoto 9 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #18945

    Suleiman Ndakpoto
    Free User
    Post count: 6

    Am using Ultrauser Plugin to manage members my site, it do monitors login and Registration on, but am not quit comfortable with the way my theme treat the GD login form so i prefer Ultrauser to handle that. Is there are way i can do some tweet in the login template file or something. Or probably have login form in a different page apart from home page

    #18947

    Paolo
    Site Admin
    Post count: 31206
    #18979

    Suleiman Ndakpoto
    Free User
    Post count: 6

    Thanks am Grateful with your support am able to redirect while sending refering page also, just little modification of code give

    
    
    
    add_action('init' , 'geodir_redirect_to_default_login') ;
    function geodir_redirect_to_default_login()
    {
    	if(isset( $_REQUEST['geodir_signup']))
    	{
    		wp_redirect(home_url().'/wp-login.php?redirect_to='<strong>.$_SERVER['HTTP_REFERER']</strong>);
    		exit();
    	}
    }

    By default Userultra redirect login to profile or custom page but not refering page. so adding .$_SERVER[‘HTTP_REFERER’] just help a little.

    I just add this in case someome might need it

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket