• Resolved greenmarie

    (@greenmarie)


    When trying to add another menu on my site, I installed child theme using plugin Childify Me. However after editing the function.php and style.php (using code found on https://presscustomizr.com/snippet/adding-extra-menus-customizr/), the page went blank and I cannot access the admin page either.

    I understand that it might be caused by for example extra blank space in the code, but I cannot access the files to change it, since the page is all blank. When I go back in the web browser, the WP admin turns up again at times, but I can’t do anything there, then the page goes blank again.
    I will try to access and remove/change the plugins/child theme php-files via the host (I currently don’t have access, since I’m building the site for someone else), but I would like to know if there is another way to fix this?
    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You’re in the right direction. Take a copy of the rogue functions.php for reference, then replace it with a bare functions.php containing one line:
    <?php

    This should get you back in to the site and you can diagnose what is wrong with the rogue file. Spaces can be a problem, particularly at the end of the file.

    Thread Starter greenmarie

    (@greenmarie)

    Thanks! Solved!
    Still working on solving the extra menu, but that’s a different story ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Childify Me plugin cause webpage and WP admin to go blank’ is closed to new replies.