WordPress.org

Ready to get started?Download WordPress

Forums

FT QuickLogin by FlareThemes.com
[resolved] Create two customer sections in the same page (3 posts)

  1. ericampleman
    Member
    Posted 10 months ago #

    Hi,
    I just setup a client space on my site, everything works perfectly!

    But I would add a second for a different type of customers. My problem is in the "redirect_to" function. It should go to the right section when connected.

    Is it possible to have the code?

    Actually for my fist section :

    <input type="hidden" name="redirect_to" value="url-of=the=1st-section" />

    http://wordpress.org/plugins/ft-quicklogin/

  2. MoxyPress
    Member
    Plugin Author

    Posted 9 months ago #

    Hi ericampleman,

    You can redirect to any page after the following actions;

      Login
      Registration
      Lost Password Request

    To change the redirect on login you will need to edit ft-quicklogin-box.php Line 47

    before
    <input type="hidden" name="redirect_to" value="<?php echo fql_get_current_url() . '#fql-box-message-login'; ?>" />

    after
    <input type="hidden" name="redirect_to" value="/blog" />

    Just change '/blog' to the page you want to redirect to.

    We have recently taken over this plugin and I am not the original developer but I will be adding add a few more plugin options and custom redirect is one of them.

    For the time being, this method will work.

  3. ericampleman
    Member
    Posted 9 months ago #

    Perfect!
    Thanks for your solution!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.