• I’m trying to create a pseudo-blog page that will display only posts from a certain category and not post categorized as “blog” which my blog already does.

    Any help is much appreciated.

Viewing 1 replies (of 1 total)
  • You would have to create a new page template. Best way is to copy current blog php file which is in your theme folder. Then add a page template name.

    <?php /* Template Name:different blog
    */ ?>

    To the top of the file.

    Upload the new file which is a copy of your original blog file besides the code you added above.

    Then when you create a page, on the right side there is a drop down menu asking which page template you want. If all goes well your new template you just uploaded to your theme folder should be listed.

    You can edit the new file how you want.

    To only call posts from one category you could do this.

    <?php query_posts('query_posts('category_name=Staff Home'); ?>

    Put that above the loop in your new blog page . should work.

Viewing 1 replies (of 1 total)
  • The topic ‘create second blog page’ is closed to new replies.