Once you have configured Facebook Login Pro you simple place the login widget with the following options:
- Shortcode: Place the shortcode on any page you want
[fbl_login_widget hide_if_logged="false" redirect=""] - Sidebar Wiget: Go to Appearance -> Widgets and drop the Facebook Login widget in the desired sidebar.
- PHP code: Place it on any part of your template with :
fbl_widget( array( ‘redirect’ => ”, ‘hide_if_logged’ => ”) );
hide_if_logged: if sets to true the widget will dissapear when user is logged in, or if false it will display avatar, edit profile and logout icon. If you are using Buddypress it will also show a link to public profile
redirect: You can enter an url to redirect the user after loggin in.