Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor barinagabriel

    (@barinagabriel)

    Hello,

    do you wish to redirect the logged in user to a custom page (after the user logged in, using the page containing the login shortcode)?

    Let me know if this is the case, and i will give you a code snippet.

    Regards,
    Gabriel

    Thread Starter webdesigninghisar

    (@webdesigninghisar)

    hello

    after the user logged in, it should be redirect to coustem page not to using the page containing the login shortcode ………

    Plugin Contributor barinagabriel

    (@barinagabriel)

    Here you go: http://pastebin.com/bkaHFiqf

    Regards,
    Gabriel

    Thread Starter webdesigninghisar

    (@webdesigninghisar)

    thank you helpful code ………..now it is redirecting properly ….

    Plugin Contributor barinagabriel

    (@barinagabriel)

    Hello all,

    you can put this in your currently active theme’s functions.php file.

    Gabriel

    Hey – this was really helpful! Thanks!

    I would like to add a re-direct from the REGISTRATION page. Right now it just redirects it to the same page which is confusing to the user who registers.

    Is there a code snippet for this?

    Hey rachelross, I wanted to do the exact same thing….
    So I did lol.. They want you to purchase premium for custom logins.
    But here is the 1 line edit to get it to go where ever you want it to 🙂

    in /wp-content/plugins/profile-builder/front-end/wppb_register.php
    Search for
    $redirectLink = wppb_curpageurl();
    Okay now, there is 2 of these!!!! You only need to change 1!
    The one you need to change is the 2nd one! So when you search its the 2nd one which is just below the first one.

    You should replace it with this!
    $redirectLink = home_url();

    If you want it to go to a different page other than the home page. You can do this.
    $redirectLink = home_url() . '/my-page/';

    That’s it, when users register they will be taken to your custom page 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to redirect After Login In Free version of plugin’ is closed to new replies.