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

Wordpress site navigation issue

My Wordpress site has a home page that, among other things, displays recent blog posts. That is working fine, and I have tested this several times by adding test posts. My site has an option for 'home' in the navigation, but when I click the link that says 'home' it takes me to a home page that doesn't have the recent posts limited. It appears to be taking me to the home page I created with a template titled 'page.php'. Does anyone know how I can correct this issue?

I will provide some important details:

  1. I created 2 templates. One titled 'page.php' which is linked in the navigation, and I also have a 'front-page.php' template, which is loaded when I go to the site url.

  2. The 'front-page.php' template, as well as the 'page.php' template are separate from home.php, which is strictly a page to list blog posts.

  3. I do have a menu created for the site, titled 'Main Menu', which has the home page listed as 'Page' and not 'Custom'.

  4. Under the 'Customize' option, the front page is selected to display posts.

Hopefully these details help provide some clarity for a person who is more experienced with Wordpress development.

1 Answer