WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. wadenein
    Member
    Posted 2 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

    http://wordpress.org/extend/plugins/social-connect/

  2. thenbrent
    Member
    Plugin Author

    Posted 2 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
    Member
    Posted 2 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

About this Topic