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.

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 */