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

Natasha McDiarmid
Natasha McDiarmid
11,400 Points

The default, fallback WordPress template file

Quiz: How WordPress Templates Work Question: The default, fallback WordPress template file is named what? I thought it was page.php or if you're in WordPress it's called 'default' from the drop down box within a page. I'm confused.

3 Answers

Alexander Carlsen
Alexander Carlsen
4,764 Points

The default fallback Wordpress template file is actually index.php: https://codex.wordpress.org/Template_Hierarchy#Examples

that will be the "index.php"....

Natasha McDiarmid
Natasha McDiarmid
11,400 Points

OH! I had tried that too, but I only put index, not index.php. Thanks!