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 Build a WordPress Theme WordPress Theme Functions Creating a Dynamic Menu

Stephen O'Connor
Stephen O'Connor
22,291 Points

Why are there two 'Home' pages?

Hi,

Why are there two 'Home' pages in this video (when adding the custom menu) when there is only one 'Home' page in WordPress? And, how do you know which one to use? In the video Zac's is called 'Home: Home' but in my install I only have two 'Home' pages.

Thanks. Stephen.

4 Answers

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

One is a default link that will link to the homepage regardless of what page or template is being used as the homepage.

The other one is likely a page you created called Home and also have set to work as the homepage. This link will also link to the homepage, but is different than the home link mentioned above.

If you created another page named Home, you would likely then have 3 options to link to a "Home" page.

Craig Bauer
Craig Bauer
3,376 Points

Look at the slug. No 2 pages can have the same slug. You can use any page you want as the home page. Go to settings > reading and there you can choose what page is used as the home page. You can delete the other to avoid confusion.

Stephen O'Connor
Stephen O'Connor
22,291 Points

I don't have two home pages though, I only have one, but in the custom menu under pages - when I click 'all pages' - it shows that I have two?

Stephen O'Connor
Stephen O'Connor
22,291 Points

OK Zac. Thanks for the response.