WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Spencer1537
    Member
    Posted 1 year 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
    Volunteer Moderator
    Posted 1 year 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:

    http://codex.wordpress.org/Login_Trouble#Deactivate_Theme

    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
    Member
    Posted 1 year 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
    Volunteer Moderator
    Posted 1 year ago #

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

    wordpress
       wp-content
          themes
            valorHOLD

    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
    Member
    Posted 1 year ago #

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

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

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

    http://support.hostgator.com/articles/hosting-guide/lets-get-started/file-manager-getting-started

  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
    Member
    Posted 1 year 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