Support » Plugin: Social Connect » [Plugin: Social Connect] How disable for all parts but comments, please help
5 years, 4 months ago
i would like to have the plugin only show for comments. disable for registration and admin login.
where would i comment out the code for those two, and still keep the comment option active?
thank you in advance
You will need to use the remove_action() function: http://codex.wordpress.org/Function_Reference/remove_action
You can add something like the following to your theme’s functions.php file or anywhere else that you can add custom code:
remove_action( 'login_form', 'sc_render_login_form_social_connect' );
remove_action( 'register_form', 'sc_render_login_form_social_connect' );
remove_action( 'after_signup_form', 'sc_render_login_form_social_connect' );
How can i add different classes to buttons? for login page a class, register page a class etc, for better customization.