Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Kevin Dang8,621 Points
How to gain access to back-end? (the code files, website assets, etc.)
I have inherited a WordPress site and need to make some slight adjustments and updates to the site.
My problem is that I cannot find the landing page in the 'Pages' section and the landing/home page can only be updated through the admin edit interface (Appearance/Customise). However, I think I need the actual code to make the changes requested.
Would I be right to assume that I can only gain access to this by using a program like FileZilla to copy the code files onto my computer OR is there another method I should be using? And would this be the correct procedure to make updates on WordPress? i.e. update the code files and dragging and dropping them back into FileZilla to update the site (?)
Daniel Gauthier14,999 Points
You'll find the files you're looking for in the Editor section of the Appearance tab in the Wordpress admin dashboard.
Even if the name of the file isn't "index.php" there will be a set of parentheses under each file and one of them will identify the file as the index.php file.
You'll be able to make changes directly in the dashboard, but if you'd prefer a little more safety to avoid breaking your site, you may want to make a copy of the file before making any changes.
If you'll be working with the code a lot moving forward, it may be helpful to set up a local Wordpress install to test things out before pushing them to a live site.
Ftp definitely works, especially for large scale changes. If you only need to change a few lines of code, you could back the file you'll be working with up using the file manager provided by your hosting company, then make your changes to the existing file. This way, if something does break, you can just restore the file using the copy.
Good luck with the changes!