Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Erik Coonce
Erik Coonce
1,894 Points

Understanding FTP & Wordpress

Hey - and thanks for reading:

I'm new to all of this, and learning a lot, here goes:

The website I'm trying to revise (meritushomes.com) is built on Wordpress but much of the HTML/CSS has been coded outside the actual pages on the Wordpress Dashboard.

Example: I click pages in the dashboard, go to the page that should be the homepage, and find nothing/no coding on the page. But this isn't the case with all the pages. Pages for galleries and information on the company owners are easily edited in Wordpress itself.

I'm sure I'm talking about something as basic as third grade spelling, but I have been tracking through the TreeHouse Wordpress tracks and the Front End Webdesign track (just the first part) and have still yet to start to comprehend this synthesis. I have grabbed an FTP client and synced it up the server, I am able to dig through the files and download/upload as needed, but I have no clue where in these files to start looking.

Can someone point me in the right direction of some resources to use to start solving this problem?

2 Answers

Hey Erik,

Yup, there's a lot to learn. I'm also trying to master WordPress and found the WordPress Theme Development covered pretty well the stuff you are talking about.

There are number of ways to create individual pages with WordPress, which I guess you need to absorb over time to get a grip on it. A quick way to find out what your Front Page is pointing to though is to go to Appearance > Customize. There you'll see that it's either pointing to a page template or your latest posts.

Hope that helps,

Ede

Erik Coonce
Erik Coonce
1,894 Points

Ede, thanks so much for your empathy. I understand how to create new pages, I think I'm having trouble phrasing my question.

I can see where the homepage is pointing - but when I open that specific page up in the listings through the Dashboard, there is zero content presented in the editor. It's completely blank. Clearly the front page is coded somewhere and managed through a client - and it is this integration between the FTP/server and the Dashboard itself, is what is so confusing to me.

I don't say any of that to be rude - just to specify my confusion for anyone else who might be reading. Advice on this integration would still be very helpful!

So it sounds like 1 of 2 things could be happening. Either when you click on the the home page in the WP editor, you're putting content in and it is not appearing on the page, which means your template is missing the <?php the_content(); ?> portion. Or, by looking at the page, you want content in that carousel area at the top of the homepage which you should look into a plugin like flexslider to create the carousel, or you need a custom post type and add the content that way.

Ede is correct. However, you should look into creating a child-theme. If you make changes to the theme itself, you will lose the changes to the CSS and HTML if the developer updates the theme.

Erik Coonce
Erik Coonce
1,894 Points

Yeah brother! Thanks, I really appreciate you mentioning that safe guard!