After adding a line of php code <?php comments_template(); ?> to a my Wordpress file I now cannot access my Wordpress login page and Wordpress does not recognise my username or email.
Any ideas?
After adding a line of php code <?php comments_template(); ?> to a my Wordpress file I now cannot access my Wordpress login page and Wordpress does not recognise my username or email.
Any ideas?
I am pretty sure whoever developed the login template will either have some documentation or a website you can you can go to in order to help you out. That is probably the best thing to do in order to get a resolution for you problem. Maybe even visiting a Wordpress forum(s). Otherwise, you would have to post more PHP code here for people here to help you here.
You’re contradicting yourself. And adding a comment template would not cause the issues you are referring to. Did anything else get modified?
By ftp go in and disable all your plugins by moving them to a different folder and then see if you can login. If that doesn’t work roll back your file change but like [member=72272]astonecipher[/member] says it is unlikely that this change caused your issue.