• Resolved midnitedev

    (@midnitedev)


    Hello!

    I am trying to integrate social login on my custom login page that takes its content from a template page. It’s a great plugin btw!

    I am following the code from wordpress docs in regards to creating the custom login page:

    echo ‘<div class=”signin container”>’;
    if ( ! is_user_logged_in() ) { // Display WordPress login form:
    $args = array(
    ‘redirect’ => admin_url(),
    ‘form_id’ => ‘loginform-custom’,
    ‘label_username’ => __( ‘Username custom text’ ),
    ‘label_password’ => __( ‘Password custom text’ ),
    ‘label_remember’ => __( ‘Remember Me custom text’ ),
    ‘label_log_in’ => __( ‘Log In custom text’ ),
    ‘remember’ => true
    );
    echo do_shortcode(‘[TheChamp-Social-Linking]’);
    wp_login_form( $args );

    As you can see, I included the shortcode for social login of which I have 3 activated accounts (twitter, linkedin, facebook). I know these 3 are working on the default login page because I have a separate login page for admins and guests (admin uses the default wp login and does not need the shortcode and I can see these 3 icons and can login with each of them). However, the login page which uses the shortcodes does not work right. I log out of my site, enable “Social Login” on the settings and test it but it does not appear. Please help, thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Super Socializer Shortcodes not working on localhost project’ is closed to new replies.