Yep. What you would do is set up a couple of different page templates. You’d open page.php and save it as something else, like “page_blog.php” and then paste this into the very very top before anything else
<?php
/*
Template Name: Blog
*/
?>
Then replace your normal loop with something like this:
<?php query_posts('category_name=blog&showposts=10'); ?><?php while (have_posts()) : the_post(); ?>
Title, permalink, and content code here
<?php endwhile; ?>
So basically for that page we’re telling it to only query posts that are filed under the category “blog”. You can replace that with whatever the slug name is of your chosen category. Then when you write posts you file them under the category of the page you want them to show up on.
When you create your pages in the admin, after you upload your new page templates, you’ll be able to select a template for each page from a drop down menu on the right hand side under the “publish” button.
Hey, thanks for the help! However its not working 🙁
all that shows up on the page is “Title, permalink, and content code here”
Here is my code… I’m no coder so it might be an obvious mistake…
<?php
/*
Template Name: Blog_t
*/
?>
<?php get_header(); ?>
<!-- content ................................. -->
<div id="content">
<?php query_posts('category_name=blog&showposts=10'); ?><?php while (have_posts()) : the_post(); ?>
Title, permalink, and content code here
<?php endwhile; ?>
<?php comments_template(); ?>
</div> <!-- /content -->
<?php get_sidebar();?>
<?php get_footer(); ?>
Thanks a lot!