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

Annuradha Raychaudhury
Annuradha Raychaudhury
9,433 Points

In the Custom Post Type video after making provision for custom post type content how do we make templates?

how is WordPress template created ?

1 Answer

Aaron Jackson
Aaron Jackson
5,644 Points

If you just need a template to show up for your home page. All you have to do is create a new file in the theme folder and save it as front-page.php...for that page to show up under your template list in WordPress had this to the top of the file:

/**

  • Template Name: Home Page */

Name it what ever you like. Hope that helps.