• Login form is working in when I login from wp-login page. But doesn’t work when I login with the same form in a popup menu. Plz help

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi,

    How are you creating the popup menu? Is it a plugin? Are you embedding the login page in the popup? Kindly provide more details.

    Thread Starter kamalhasanminhas

    (@kamalhasanminhas)

    It is a builtin popup widget in theme. The same form is working on page but doesnt work in popup.
    here’s the link: https://cheriemamma.org/
    hit login button.

    And here it is working fine https://cheriemamma.org/account

    Thread Starter kamalhasanminhas

    (@kamalhasanminhas)

    Hi,

    The link isn’t in the post. Mind sending the link once more? Thanks.

    Thread Starter kamalhasanminhas

    (@kamalhasanminhas)

    Thread Starter kamalhasanminhas

    (@kamalhasanminhas)

    It keeps waiting in popup when you submit form

    Thread Starter kamalhasanminhas

    (@kamalhasanminhas)

    wp_login_form(array(
    	'echo'           => true,
    	'remember'       => true,
    	'redirect'       => ( is_ssl() ? 'https://' : 'https://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'],
    	'form_id'        => 'loginform',
    	'id_username'    => 'user_login',
    	'id_password'    => 'user_pass',
    	'id_remember'    => 'rememberme',
    	'id_submit'      => 'wp-submit',
    	'label_username' => __( 'Username' ),
    	'label_password' => __( 'Password' ),
    	'label_remember' => __( 'Remember Me' ),
    	'label_log_in'   => __( 'Log In' ),
    	'value_username' => '',
    	'value_remember' => false
    ));

    using this function in both popup form and in page. works fine in page but not in popup

    I apologize for the confusion.

    What I’m understanding is that you have one type of login form that you’re using. One is the standard one when you’re logging into your WordPress admin console and the other looks to be a signup form for your subscribers? Is that correct?

    Where are you pulling that array in from?

    Thread Starter kamalhasanminhas

    (@kamalhasanminhas)

    If you press login then you’ll see a popup login form, it is generated with the same PHP function that is being used in account page. The problem is, in account page it works but in popup it doesnt

    Thread Starter kamalhasanminhas

    (@kamalhasanminhas)

    I am initializing the array it is default method to print a login form using php function. It is working in account page but not in popup

    I did take a look around and it seems as if the theme that you’re using does provide it’s own support. In looking at everything on your page it isn’t clear why that behavior is occurring. At least none that I can see. When you’re configuring the pop up itself what options are presented to you?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Login form not working in popup’ is closed to new replies.