Forums

Page Template not Working with Posts Page (3 posts)

  1. FrPSh
    Member
    Posted 9 months ago #

    I'm working on a custom themed site, and I've set it up so the main page is static, and the posts page is separate.
    I've created templates for all the pages, and 4 of the 5 display perfectly. I'm having problems, though, with the posts page. It displays all the right styling, but there is no content within the <content> tags other than the blog posts. I have applied a template to this page with other content (that worked fine with all the other regular pages), but it seems that WP ignores templates on the posts page. Why is this, and how can I change it/work around it?

    Please let me know if I can clarify in any way.

  2. alchymyth
    The Sweeper
    Posted 9 months ago #

    the posts page is using index.php, unless you have a home.php which is then used for the posts page.

    page templates have no effect on the posts page.

    http://codex.wordpress.org/Template_Hierarchy

  3. FrPSh
    Member
    Posted 9 months ago #

    Fantastic! That's it - thanks so much.

Reply

You must log in to post.

About this Topic