Posts page won't take a template (4 posts)

  1. Matt
    Posted 7 years ago #

    It insists on taking on the Home template. I've tried setting it to default and a special template. No dice.

    COINCIDENTALLY, the static home page is set to the Home template. Hmmmm.

    Index page
    Posts page

  2. yoshi
    Posted 7 years ago #

    Index page uses the Page template you specified in the editing page.

    Posts page uses the home.php or index.php, regardless which Page template you choose for the page.

    Think this way - the Posts page(page_id=192) exists only for the purpose of defining a URL to the latest posts page. So what you see on http://thegasgun.com/?page_id=192 not really is a Page#192 but a non-static front page.
    is_home() is true, is_page() is false, and it uses home.php template.

  3. Matt
    Posted 7 years ago #

    Ok, let me try some changes and I'll get back to this thread.

  4. Matt
    Posted 7 years ago #

    Yup, that worked. I made a special template for home (a dupe of its old template), and changed the old template the way I wanted it to look for displaying blog posts. Thanks Yoshi.

Topic Closed

This topic has been closed to new replies.

About this Topic