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

WordPress How to Build a WordPress Theme WordPress Theme Functions The WordPress Loop

How do I get the pages added?

On this video, Zac already has all the pages in the theme folder in his pages list in Wordpress, but after following him step-by-step through this it isn't happening for me. The pages simply aren't showing up in that list, and yet he is using that list (it appears to me) to access the posting stream. I've watched every video over and missed where/when those pages got added, and how.

Do any of you know how to add these .php files as pages in the pages list in Wordpress? I thought I figured it out last night but I was wrong.

1 Answer

Derrick Morton
Derrick Morton
11,939 Points

When you open you template files is there a piece of code like this first?

<?php /* Template Name: My Custom Page */