Support » Fixing WordPress » Posts page doesn't use index.php template

  • admin > settings > reading > front page displays >

    I’ve set a static homepage set to a template named home.php

    I’ve set the posts page to a template named posts.php

    The problem is that the posts page is using the home.php template instead of index.php.

    I understand from this forum post that it’s supposed to use index.php.

    I would have to do ugly conditionals all over the home template to make it display correctly as the posts list page. that’s what I wanted to avoid by using a different template-page to be my posts page.

    Website: http://www.pugix.com/synth

    The “recent posts” link goes to a page that should only show excerpts, but instead it shows full posts AND more content that is custom to the homepage, not to index.php.

    In 2.9.2, this codex technique worked perfectly, but alas, it no longer works in 3.0.

Viewing 1 replies (of 1 total)
  • esmi

    (@esmi)

    Forum Moderator

    Rename home.php to homepage.php (home.php is a reserved filename on many systems).

Viewing 1 replies (of 1 total)
  • The topic ‘Posts page doesn't use index.php template’ is closed to new replies.