1. Home
  2. ReHub Theme
  3. User submit, memberships, profiles
  4. How to add social login buttons

How to add social login buttons

You don’t need to buy paid plugins for this, because there are many free. One of such free plugin is WordPress Social login

Just enable and set configuration for buttons. You don’t need to connect user profiles with social login, because I already made this (for Ultimate Member login and register pages and for default login/register popup of theme).

Also, you can easily plug to the pop-up Login/Register window your own plugin if it has a shortcode for the buttons. Add such code:

add_action( 'wordpress_social_login', 'my_social_login_buttons' );
function my_social_login_buttons(){
    echo do_shortcode( '[your_shortcode]' );
   //if the plugin has a PHP function to display social buttons you can replace the line above with it. 

How to customize your theme