Viewing 9 replies - 1 through 9 (of 9 total)
  • Thanks for your message.

    I don’t check this forum often though, so please could you email me explaining more about what you want to achieve? Sorry I’m not too sure what you mean.

    [email protected]

    Regards,

    Dan

    Thread Starter collex

    (@collex)

    when I open Login page, I see button “Login with Google”. I wish that there were no buttons.

    Thread Starter collex

    (@collex)

    But Google Drive Embedder is worked.

    OK that makes sense. Some people are using Google Apps Login only to provide the ‘Google configuration’ for other plugins such as Google Drive Embedder.

    There is no native way to turn off the Login functionality, but it should be possible to add some CSS to your Theme to override the styles and hide the login button etc.

    You would add some relevant CSS to the login_enqueue_scripts hook – perhaps from your Theme’s functions.php file:

    function my_login_styles() {
    ?>
    <style type=”text/css”>
    form#loginform p.galogin, form#loginform p.galogin-powered, form#loginform p.galogin-or {
    display: none !important;
    }
    </style>
    <?php
    }

    add_action(‘login_enqueue_scripts’, ‘my_login_styles’);

    Or it may be easier just to add the CSS itself to your child theme’s style.css file.

    I hope this helps – the above is a suggestion based on the default WordPress configuration, but hopefully you can adapt to match your theme if needed.

    Thread Starter collex

    (@collex)

    I put your code in the file functions.php, but received a 500 error.

    Most of all, I do not know how to do it correctly.

    Can you do a small button to turn off this feature?

    If your web developer can’t help, you might just be able to add this to the style.css file of your theme instead – maybe that will be easier:

    form#loginform p.galogin, form#loginform p.galogin-powered, form#loginform p.galogin-or {
    display: none !important;
    }

    Ideally you would add this to your child theme if you have one. Anyway, it should be less easy to break things adding the above code to any style.css file that looks relevant!

    Thanks,

    Dan

    Thread Starter collex

    (@collex)

    I added this code to the style.css file of my child theme. But nothing happened. Why do not help me, your advice? I have buddypress.

    Please could you send me an email with a link to your site:

    [email protected]

    Thanks,

    Dan

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘How to disable input through Google?’ is closed to new replies.