[resolved] I am locked out of my site (8 posts)

  1. Spencer1537
    Posted 3 years ago #

    I have come into a very bad problem. I use the theme Valor, and was in the Editor editing the cpt.php and I messed up the text on Line 72 that said this:

    'supports' => array('title','editor','thumbnail','comments')

    I now can't get into my website. My website URL is TheTrueGamer.com

    Can a WordPress administrator get my back into my account? I had a lot of hard work on this site and I need it back!

  2. WPyogi
    Forum Moderator
    Posted 3 years ago #

    No we do not have any access to your site. You CAN, however, use FTP to access your site files on the server and deactivate the theme - see:


    It's also NEVER a good idea to modify theme files - this is one reason why - instead you should be using a Child Theme - http://codex.wordpress.org/Child_Themes

  3. Spencer1537
    Posted 3 years ago #

    I hate to ask, but I am not very familiar with FTP. Could you possibly guide me through the steps of how to use it. I use cPanel X on Gatorhost.

  4. WPyogi
    Forum Moderator
    Posted 3 years ago #

    You can use Cpanel - just find the theme folder and change the name on it -


    That should make WP use the default theme and let you back in. Then you can get a new copy of that file you changed and replace it - via Cpanel - or reinstall the theme. But note that if you've changed theme files, you'll lose the changes you've made - that's why it's best to use a Child Theme for file-level changes.

  5. Spencer1537
    Posted 3 years ago #

    Is the theme folder in the main menu of the Control Panel on Hostgator.com? Again, sorry for the stupid questions.

  6. WPyogi
    Forum Moderator
    Posted 3 years ago #

    I'm actually not familiar with Cpanel (I use FTP) - but this should help you:


  7. In cPanel... you want to look for the icon which allows you to access your "File Directories".

    It might be called something like "File Browser"... or "File Structure".

  8. Spencer1537
    Posted 3 years ago #

    I fixed it. Thank you so much for the help, and I will greatly consider using a Child Theme.

Topic Closed

This topic has been closed to new replies.

About this Topic