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 Custom Post Type Templates

Dejan Buric
Dejan Buric
12,560 Points

About displaying content on the website

I finish this course about Custom Post Types. I understand how to use both plugins and how to crate C.P.T. but i dont understand about this php files. In this course Zac give us those 3 files.

What about future projects? Will we learn how to create those files, or is there some plugin to create it?

Sorry on bad grammar

Thanks

1 Answer

Stanley Thijssen
Stanley Thijssen
22,831 Points

There is an course about Wordpress template files. This will explain you what kind of Wordpress template exist in Wordpress and what they are used for.

When you learn more about the WP_Query Wordpress uses, you can learn to call the content you want to output inside your Wordpress template files. There is a workshop on treehouse about the WP_Query here: https://teamtreehouse.com/library/wordpress-custom-loops-with-wpquery

When you understand this you will learn more about how to output the content from for example your post types