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

When I create a custom post type and post to it, I get the "Oops! That page can’t be found" message when I view it. Why?

I used the Custom Post Type UI and Advanced Custom Fields plugins as instructed in the videos. I did noticed that I get a regular field for entering posts into like normal between the title and the custom posts, which I did not see in the video, but I'm not sure if that's related as I'm just trying to learn all of this.

Andrew Cato
Andrew Cato
4,263 Points

Have you set up the template files for your archive-{post type}.php and single-{post type}.php files in your theme?

When you create Custom Post Types in WordPress, you have to create specific template files for them to display within your theme. See more in the Codex.