• Site is http://www.oakbrookconnect.org.

    I have my front page configured as a normal page (not static) but have a loop-index file so it only pulls from a specific category that has a specific post in it.

    I want to add another page inside the site called News (or something like that) where we can just post updates to keep people informed. I have a link under News & Events for Body Life that specific pulls things from that one category. I want to do something similar but have it be like a normal blog and just show all the posts in date order.

    Is there an easy way to do this without affecting the rest of the site?

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Take a copy of the original index.php, rename it, and change it into a template. Create a new Page for the blog and assign it the new template.

    You may need to make some additional modifications to exclude categories displayed on other pages.

    You can style categories differently by making different category-id.php templates. That could also be an option.

    Have a look at the template hierarchy to see the various templates you can use –
    http://codex.wordpress.org/Template_Hierarchy#Visual_Overview

    Thread Starter kelemvor

    (@kelemvor)

    I actually don’t want to show just certain categories. I want a page that will show Everything at once.

    I know that to show just a certain category, I can make a link that goes to site.com/category/Abcd

    But is there a way to do that and tell it to show everything?
    site.com/category/All or anything like that?

    The approach I suggested should do what you want.

    Thread Starter kelemvor

    (@kelemvor)

    How do I change it into a template?

    After thinking a bit about what you want, I believe that a different approach would be better.

    • Make your current index.php file into a template. You just need to rename it and add the template name to the top of the file as shown here.
    • Put a copy of the original index.php file in the theme folder so the blog page will use it.
    • Set your current home Page to use the new template.
    • Create a new blank Page for the blog.
    • Set your home Page as the ‘Static front page’ and your new blank blog page for posts.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Adding a blog page inside my site…’ is closed to new replies.