Thread Starter
jwood
(@jwood)
<?php query_posts(“cat=14”); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
…output data…
<?php endwhile; else : endif; ?>
is what i’m trying to do, but no luck.
Thread Starter
jwood
(@jwood)
i’m having trouble trying to get this, is there a code that can be like
if category is 14, then query the last 5 articles.
Thread Starter
jwood
(@jwood)
Currently
<div id="innerLeft">
<div id="OpinionHeader">
<h2>OPINION & BLOGS</h2>
</div>
<div id="innerContent">
<!-- start loop -->
<?php is_category('14'); if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post">
<h2 class="archiveTitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
….
goes in an inf. loop
this is not exactly you need but will give you a direction
[spam link removed]