WordPress.org

Forums

Social Login, Social Sharing and Social Data Integration
[resolved] How to use LoginRadius in a custom login/registration form? (5 posts)

  1. nemoprofeta
    Member
    Posted 2 years ago #

    I'd like to allow contributors to the site to login/register from any page on the site, not only from the login or registration page.
    The Login Radius widget works, but I'd like to also show the typical email/password fields before it.
    I know I have to use the call <?php Login_Radius_Connect_button(); ?> but, will it work both as registration and login link?

    http://wordpress.org/extend/plugins/loginradius-for-wordpress/

  2. loginradius
    Member
    Plugin Author

    Posted 2 years ago #

    Hi nemoprofeta - To show Username/Password fields before Social Login interface, place the following code where you want to display the interface:-

    <?php
    if(!is_user_logged_in()){
    wp_login_form();
    }
    Login_Radius_Connect_button();
    ?>

    Let us know if you have any further question.

  3. loginradius
    Member
    Plugin Author

    Posted 2 years ago #

    Hope the response resolved the issue for you.

    FYI: we have released a new version of social login plugin with short codes. Here is the list of short codes available with this version:
    http://support.loginradius.com/customer/portal/articles/971398-wordpress-social-login-installation-configuration-and-troubleshooting#shortcode

  4. piemonk
    Member
    Posted 1 year ago #

    How to register user with two fields for registration like username and email, should i write some custom code in LoginRadius_widget.php before Login_Radius_widget_Connect_button(); ? if i do what should i do for redirect users?

  5. loginradius
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Piemonk,

    Our plugin takes care of Username and email of users while registering them at your wordpress site.
    When a user logs in your website using lets say Facebook, our plugin creates a user name for the User and his/her email is captured too and stored in WordPress database.

    Hope this answers your question.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.