Social Connect
[resolved] How disable for all parts but comments, please help (3 posts)

  1. wadenein
    Posted 4 years 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


  2. thenbrent
    Plugin Author

    Posted 4 years ago #

    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' );
  3. jojalamic
    Posted 4 years ago #

    How can i add different classes to buttons? for login page a class, register page a class etc, for better customization.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Social Connect
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic