Hi,
not too good with php, ran into a problem.
Ive succesfully created a template for "page x", to only show posts with category "x" onto that page,
now I want to have "page y" to only show posts from "category y".
I thought using the same Loop and only changing the category name would help, but it doesnt.
What am I missing?
posts with category "events" dont show; using this code.
<div class="page-content">
<?php query_posts('category_name=events&showposts=15');
if(have_posts()) :
while(have_posts()) : the_post();
?>
<?php the_content(); ?>
<div class=post-intro>
<?php edit_post_link(Edit); ?>
</div>
<?php endwhile; ?>
<?php else : ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2>(Not Found)</h2>
</div>
<?php endif; ?>