Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
How to move “Sign in with Facebook” button after “Login” button?
Sorry, for not being specific enough. I wanted to change the order of the “log in” button and “sign in with Facebook buttons” in the login template.
I found the solution and I moved a bit of code in login.php to the end of the file.
1 2 3 4 5 |
<?php // Hook into fields $args, $user_id if (!isset($user_id)) $user_id = 0; $hook_args = array_merge($args, array('user_id' => $user_id, 'unique_id' => $i)); do_action('userpro_after_fields', $hook_args); ?> |
The social connect are added via userpro_after_fields action hook fields. You have two solutions:
– Create new action hook where you want and change the action hook in social connect file. from userpro_after_fields
– Or your solution works fine for you. 🙂
You must be logged in to reply to this topic.