ThemeShaper Forums » Thematic

[closed]

Creating Blog Page

(2 posts)
  • Started 4 years ago by elorenishii386
  • Latest reply from Leland
  • This topic is not resolved
  1. elorenishii386
    Member

    How do I create a separate Blog Page for my website.
    I created a home.php page which consists of the same coding as the index.php, but removed the loop. Then, I created a blog.php that had the loop. I created a Home page and the Blog page with their respective templates. I went to settings > Reading > and set up home as the static front page and Blog as the page for the latest posts.

    The problem is that the home page shows home as it is suppose to, but the blog page displays home. I have checked everything twice over and I do not know what I am doing wrong. Can someone please tell me how can I correctly create a separate Blog page from the home.

    Posted 4 years ago #
  2. Try renaming the home.php to something like home-template.php and put the following lines of code at the top of it:

    <?php
    /*
    Template Name: Home
    */
    ?>

    Then set the Home Page Template on the page named "Home" (or whatever you want your homepage to be named.

    Then do the Reading Settings thing again, setting "Home" as your homepage and a blank page named "Blog" as your blog.

    I think file name of home.php is conflicting with your reading settings.

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.