WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Social Connect] Removing From ThemeMyLogin (11 posts)

  1. robpachasa
    Member
    Posted 3 years ago #

    hi, i feel dumb for asking but i'm tired so please forgive me if this is an easy answer. What do I remove from the Social Connect coding to get the buttons of the ThemeMyLogin widget.

    I'd like to keep them on my login page though, but i could do without them on my register page as well.

    so help with the widget and registration page would be much appreciated : )

    (using current versions of everything)

  2. robpachasa
    Member
    Posted 3 years ago #

    nothing on this?
    i know i'm being impatient by was hoping maybe even someone besides the dev could tell me lol

    i was poking around and saw the option to remove it from the fuctions and insert it manually where applicable. is this what i have to do?

  3. Jeff Farthing
    Member
    Posted 3 years ago #

    I'm not even sure what you mean.

  4. robpachasa
    Member
    Posted 3 years ago #

    I want to remove the Social Connect buttons from the registration page, and the Theme My Login widget. I'm trying to keep the widgets seperatley: http://news.ycsmnews.com (top right 2 widgets).

  5. thenbrent
    Member
    Posted 3 years ago #

    Social connect hooks to the register_form hook, so you can remove it from the registration page by pasting the following code into your theme's functions.php file, or anywhere else you can paster custom code:

    remove_action( 'register_form', 'sc_render_login_form_social_connect' );

    And to remove it from the Multisite Registration Page:

    remove_action( 'after_signup_form', 'sc_render_login_form_social_connect' );

    If Theme My Login uses the standard register hooks this will also remove it from the Theme My Login registration page.

  6. robpachasa
    Member
    Posted 3 years ago #

    ok that worked beautifully. thank you so much : )

  7. tishfearless
    Member
    Posted 2 years ago #

    I am trying to remove the Social Connect from my wp-login page. I followed the instructions above and pasted the code at the very bottom of the fuctions.php but it still appears. I'm stuck...is there another way to remove it from my theme login?

  8. gezginrocker
    Member
    Posted 2 years ago #

    I added those 2 codes to functions.php.

    Buttons at the registration page are gone, but the ones at Theme My Login sidebar widget are still displayed.

    Is there a way to remove them?

    Thanks

  9. gezginrocker
    Member
    Posted 2 years ago #

    ah I found it! I added this line, now buttons are gone from widget as well:

    remove_action( 'login_form', 'sc_render_login_form_social_connect' );

    tishfearless, I added the codes at the top of the page, just after <?php

    maybe you should also try that...

  10. tishfearless
    Member
    Posted 2 years ago #

    gezginrocker thank you so much! Those buttons on my Theme Login page were really annoying me just knowing they were there! lol adding that line did it! I added it to the bottom and it work jut fine! thanks mucho!

  11. gezginrocker
    Member
    Posted 2 years ago #

    you're welcome tishfearless. I'm glad we got rid of them at last. :)

Topic Closed

This topic has been closed to new replies.

About this Topic