Finishing the home page


show more Finishing the home page provides you with in-depth training on Developer. Taught by Chris Coyier as part of the WordPress 3: Creating and Editing Custom Themes show less
please wait ...

Finishing the home page

So our WordPress theme is almost done. There is just one more thing that we need to wrap up, and that's the homepage. That's what we're looking at now, and it looks just how we want it to look. It's just these two Featured Widgets down here are just static content and we want to replace that with dynamic content, now that the store has been fleshed out. So I will open up our WordPress theme. We have opened all of our WordPress theme files as a project in TextMate. And the file that we have working, that's our homepage, is this home.php file.

And you can see here is Featured Widgets and then there is an unordered list and here is the two widgets that we have featured as list items, but you can see that this content is just static. It's not dynamic as we want it to be. So what we're going to do is show one, the most recently published widget in the Sprockets category, and the most recently published widget in the Sprunkler category. That way it kind of changes a li...

Finishing the home page
Video duration: 4m 45s 4h 28m Intermediate

Viewers:

Finishing the home page provides you with in-depth training on Developer. Taught by Chris Coyier as part of the WordPress 3: Creating and Editing Custom Themes

Subjects:
Developer Web
Software:
WordPress
Author:
please wait ...