Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Do you have access to your hosting provider’s control panel?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Can you check that control panel to see if you have an option named something like “File Manager”? Something that lets you see the files and folders behind your website.
@anevins It doesn’t look like there’s any kind of access to the files from my host in the control panel unfortunately
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Does it mention anything about “FTP” details?
@anevis oh I’ve just found Console access and I’ve now logged in to this! I assume this is where I can make changes? What should I do from here?
FYI I just did some Googling about FTP on Digital Ocean and found this: “We do not provide any droplets providing a pre-installed FTP service as FTP is an inherently insecure protocol. You can however make an SFTP connection using the root user. Before you can make an SFTP connection you will first need to log in via SSH or the Console in the control panel (Droplet->Access->Open Console)”
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Great, um I’ve not handled a SFTP connection before but I think what the “Open Console” does is that it opens the connection to your server – Which you can then use a FTP tool like ‘FileZilla’ to access. Assuming you have the FTP details; the server name, username and password, try installing that FileZilla software and then making a SFTP connection there.
https://www.one.com/en/support/faq/how-do-i-connect-to-an-sftp-server-with-filezilla
@anevins oh I see – I’m currently at work so can’t install anything on this computer, was hoping to do it without downloading anything but I’ll have to try when I get home unless there’s a way to do it without downloading anything? (Thanks for your help by the way, much appreciated)
@anevins ok I’ve connected my Filezilla (I didn’t do any process of adding WP files to it though, should I do that?) – by the way I’m happy for any kind of reset to my theme to happen if that is a quick fix, I’ve only added a couple of test pages to the site so there’s nothing really to lose
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Hi @tac3022, you should be able to download the theme’s functions.php file again and then re-upload that from your computer to the server. The server path will be something like ‘/wp-content/themes/[name-of-your-theme]/‘.