Forums

Not able to separate blog page from homepage (2 posts)

  1. webjive81
    Member
    Posted 3 years ago #

    OK...so I've been through tons of tutorials and documentation and I feel like I am stumped here.

    I want to have a separate static homepage and have a separate blog page - both referencing different templates.

    homepage = home.php
    blog = index.php

    What I've done so far:
    - I changed the Settings > Reading to (Front Page: Home | Posts page: Blog)
    - I created both "Pages" and assigned them to the appropriate templates.

    Problem: When I go to click on "Blog" in the navigation (on the live site), it pulls up the home.php template. Any ideas?

  2. davesgonebananas
    Member
    Posted 3 years ago #

    home.php is reserved in the Template Hierarchy. It's worth noting that in WordPress 'home' is the blog index, whereas 'front page' is the home page.

    Call the template homepage.php or frontpage.php or anything that's not in the template hierarchy and you should be sweet.

    Dave

Topic Closed

This topic has been closed to new replies.

About this Topic