kevin mcgrath

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: redirect sign in/sign up to page other than home? #50205

    kevin mcgrath
    Free User
    Post count: 2

    I just tried plugging in the page extension I was trying to get the redirect to go to (/instructors/instructor-login).

    I just wasn’t sure what format or what part exactly

    case ‘lostpassword’ :
    case ‘retrievepassword’ :
    if ($http_post) {
    $errors = geodir_retrieve_password();
    $error_message = isset($errors->errors[‘invalid_email’][0]) ? $errors->errors[‘invalid_email’][0] : ”;
    if (!is_wp_error($errors)) {
    wp_redirect(home_url() . ‘/?geodir_signup=true&checkemail=confirm’);
    exit();
    } else {
    wp_redirect(home_url() . ‘/?geodir_signup=true&emsg=fw’);
    exit();

    in reply to: redirect sign in/sign up to page other than home? #50203

    kevin mcgrath
    Free User
    Post count: 2

    Ok thank you. I would prefer not to add buddy press(ive added the plugin before and it doesn’t fit what my design goes for @ baseballscholarships101.com). I really don’t mind the code if I knew where exactly to add it. I thought it was somewhere by the home_url part? I just want them to go to a page other than the home page when they click sign in.

Viewing 2 posts - 1 through 2 (of 2 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount