Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #297431

    Hello,
    I set up a child theme and everything seemed to be working properly…until I logged out. I am unable to log back in when the Child Theme is activated. Login just won’t accept my password.

    Here is what I have in the functions.php file for the Child Theme:
    <?php

    /*
    *Enfold Child Theme Functions File
    */

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Alegreya SC’] = ‘Alegreya SC’;
    $fonts[‘Alegreya’] = ‘Alegreya’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Alegreya SC’] = ‘Alegreya SC’;
    $fonts[‘Alegreya’] = ‘Alegreya’;
    return $fonts;
    }

    Thank you for any help with this.
    Eisa

    #297665

    Hi EisaSawyer!

    Thank you for using the theme.

    What are the installed plugins on your website? I think it’s possible to ask your host for the correct login details.

    Cheers!
    Ismael

    #297753

    I apologize, I should have given you more information. If I deactivate the child theme I am able to log in just fine, so it’s not the login details and we have gone through all of the plugins already. It seems that there is something within the child theme that is causing this.

    #297812

    Hey!

    Try to place an empty functions.php file into the child theme folder – just in case your custom php code breaks the login somehow. If this doesn’t help try to deactivate all extensions and check if the login then starts to work. If not try to increase the allocated php memory to 128M: http://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/

    Cheers!
    Peter

    #297898

    Thanks Dude. So since I mainly just needed more Google fonts, I just decided to add a font plugin and did away with the child theme all together.
    Thanks for your input!
    Eisa

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Cannot log in to WP-ADMIN after activating Child Theme’ is closed to new replies.