Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi I’m interested about your question as well

    So after 2 months, is it possible?

    Thanks, Max

    JP

    (@policieuxjp)

    Hi,
    I had a similar issue as I wanted to be able to set the login redirect url using %admin_url%. I managed to fix my problem by modifying just one line : in class-sidebar-login-widget.php line 285 :

    Original:
    $redirect = empty( $instance['login_redirect_url'] ) ? $this->current_url( 'nologout' ) : $instance['login_redirect_url'];

    Modified:
    $redirect = empty( $instance['login_redirect_url'] ) ? $this->current_url( 'nologout' ) : $this->replace_tags($instance['login_redirect_url']);

    In the original version, the parameter %XXX% were not replaced.

    Should probably solve your problem with %username% now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar login-redirect’ is closed to new replies.