Set up Registration Field

This topic contains 1 reply, has 2 voices, and was last updated by  Simone 8 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #40881

    reiseradet
    Expired Member
    Post count: 61

    Hello,

    I’d like to set up the registration field for the site. It re-directs to Geo registration and log in. Where can I edit this setting? Also, if they are logged in using the GEO login, does this means they are also logged-in users for the whole website?

    #40894

    Simone
    Expired Member
    Post count: 3515

    Geodirectory uses the same WordPress table for users, so you can use your own login/registration page.
    TO change the default login page to whatever page you want, add the following to your functions.php (inside your child theme)

    
    
    add_action('init' , 'geodir_redirect_to_default_login') ;
    function geodir_redirect_to_default_login()
    {
    if(isset( $_REQUEST['geodir_signup']))
    {
      wp_redirect(home_url().'/login/');
      exit();
    }
    }

    have a look at the row

    
    
    wp_redirect(home_url().'/login/');
    

    and change /login/ to whatever is the login page you want to use

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

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

Open Support Ticket