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 Make a Website with WordPress Custom Post Types and Fields in WordPress Custom Post Type Templates

Where did those php files just come from?? How am I supposed to get those?

He installed the custom post type plugin and custom field plugin - created a new post type and added fields. Now suddenly has 3 php files with no explanation as to where those came from and how to access them.

2 Answers

Clara Hembree
Clara Hembree
11,401 Points

I'm working on my live site. I'd like to know where to find the .php files rather than use the project files that accompany the video tutorial.

Oh boy, don't tell me the .php files are not created automatically. hmmm... I just went through the CPT UI instructions but now I'm stuck because I don't have the .php files for the "music" custom post type.

Would these be the instructions to go by? http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page


Are there project files to download? Check the first video for project files to download (sidebar on the right) and for every video after. Often times, teachers will provide new files for each video so it's important you keep an eye out for new source code to download.

I hope this helps!

Happy coding friend!