The problem starts with "I don't know how to link it.
I got this very code:
<?php if(function_exists('facebook_login')) { echo facebook_login(); } ?>
to put on
user-register.php and
inc.auth.php then I follow this:
<div class="h3"><?php _e('Connect with social network', 'stela'); ?>
</div>
<?php if(class_exists('OSCFacebook')) { ?>
<?php $user = OSCFacebook::newInstance()->getUser(); if( !$user or !osc_is_web_user_logged_in() ) { ?>
<a class="external-log fb btn round3 tr1" target="_top" href="<?php echo OSCFacebook::newInstance()->loginUrl(); ?>
"><i class="fa fa-facebook"></i><?php _e('Facebook', 'stela'); ?>
</a>
<?php } ?>
<?php } ?>
<?php if(function_exists('gc_login_button')) { ?>
<a class="external-log gc btn round3 tr1" target="_top" href="<?php gc_login_button('link-only'); ?>
"><i class="fa fa-google"></i><?php _e('Google', 'stela'); ?>
</a>
<?php } ?>
</form>
</div>Then I tried something like this:
<div class="h3"><?php _e('Connect with social network', 'stela'); ?>
</div>
<?php if(function_exists('facebook_login')) { ?>
<a class="external-log gc btn round3 tr1" target="_top" href="<?php facebook_login('link-only'); ?>
"><i class="fa fa-facebook"></i><?php _e('Facebook', 'stela'); ?>
</a>
<?php } ?>
<?php if(function_exists('gc_login_button')) { ?>
<a class="external-log gc btn round3 tr1" target="_top" href="<?php gc_login_button('link-only'); ?>
"><i class="fa fa-google"></i><?php _e('Google', 'stela'); ?>
</a>
<?php } ?>
</form>
</div>And this is frustrating because the plugin is working fine but I don't know how to make it work on stela or make it show up at least but it doesn't happen is too hard for me.
This is a black whole can you tell whats' right code needed to show up this sweet btn up?
NOTE: on Bender I just used this code on register
<?php if(function_exists('facebook_login')) { echo facebook_login(); } ?>
and it worked 1 shot.