• Hey guys,

    I put some unneccessary code through wp-admin into functions.php and now cannot access neither wp-admin nor my website. Do you have an idea can I get to the code and change functions.php? My hosting is sql

Viewing 6 replies - 1 through 6 (of 6 total)
  • ill assume this is the function.php of your theme. Get a fresh copy of the theme and unzip it on your pc, the. Use an FTP program or your cPanel’s file manager and replace the bad version of function.php with the fresh copy

    Thread Starter vladyslavikk

    (@vladyslavikk)

    Thanks for your reply. The problem is that I cannot use FTP, it says that the program cannot connect to the server. And when it comes to admin panel of my hosting SQL, I have difficulties in finding fucntion.php there to introduce the neccessary changes.

    Have you checked in
    /wp-content/themes/yourthemename/functions.php ?

    Thread Starter vladyslavikk

    (@vladyslavikk)

    where exactly should I check that?

    through the admin panel you should have access to ftp. Most of hostings have this function inbuilt. If not, search there how to connect through ftp client

    Thread Starter vladyslavikk

    (@vladyslavikk)

    thanks for your help guys! I’ve fixed the problem

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘changed functions.php’ is closed to new replies.