Changing the main content


show more Changing the main content provides you with in-depth training on Web. Taught by Joseph Lowery as part of the Dreamweaver and WordPress: Core Concepts show less
please wait ...

Changing the main content

So now if I do a little comparison and see where we're at with our blog_comp. Well, the first thing is I've got a title, Roux Academy Blog, to put in that I don't have in index.php. So, let's go into the actual index.php page. I'm going to open it up into Code view so you can see what we're working with here. The index.php page is really the centerpiece of the entire WordPress site, and it acts as pulling in the various parts.

The first line we see here is a WordPress function get_header, which brings in the header page. Then after that, there is a div with an id of contentWrap that holds all of the content for that main area. So, we also have another div within it for content, and then here's a section with a series of PHP code blocks. This is what's known in WordPress as The Loop, capital T, capital L. It's a very important aspect of WordPress and much of the work in WordPress has to do with the loop.

In this case, what we want to do is go actually right above ...

Changing the main content
Video duration: 5m 17s 5h 44m Intermediate Updated Oct 23, 2012

Viewers:

Changing the main content provides you with in-depth training on Web. Taught by Joseph Lowery as part of the Dreamweaver and WordPress: Core Concepts

Subject:
Web
Software:
Dreamweaver WordPress
Author:
please wait ...