new child theme function.php breaks log in
I am creating my own child theme. In order to do this, I have created a new blank functions.php in my newly created child theme folder (located in /wp-content/themes/ ). I added a couple of new functions to the new functions.php, to enable activity as frontpage, and to add another sidebar, but then realised that pressing the log in button (which had been working before) produced a blank screen. The wordpress text editor also stopped working (saving edits resulted in a blank screen).
I retraced my steps, removing the functions 1 by 1, but even a blank file produced the same results. When I revert back to the default functions.php, by deleting the child version, everything works fine.
When I start over, I can get one or two functions working, briefly, then they break, and I can’t even get the blank file to work, as before…
Can anyone point me in a good direction for troubleshooting?
- The topic ‘new child theme function.php breaks log in’ is closed to new replies.