Bug in theme – Function.php
-
Hi there,
The other day I tried to reset my password through FTP: went to my theme funtions.php, typed wp_set_password( ‘password’, 1 ) as per the instructions (changing the 2nd word password for my new password) and then save it and upload it but it didn’t work (I guess I was doing something wrong…), so I deleted the code, saved it and uploaded it.
The next day I found my password but just after I started working on the website, my web went blank! I can log in to wp-admin and make changes. Sometimes it starts working for a bit, but later on it gets blank again.
I’m guessing this is happening because of the changes I made on the funtions.php??
I’m new to wordpress and don’t know much about coding so I was wondering if anyone can see something wrong in my funtions.php:
<?php
/**
* Flatsome functions and definitions
*
* @package flatsome
*//**
It has been suggested to me to install the theme again and reset the functions but I’m worried all the work I’ve done in the web so far will be lost!
Also, would be better to edit the functions in wp-admin or FTP from now on?
Thanks!
- The topic ‘Bug in theme – Function.php’ is closed to new replies.