Viewing 1 replies (of 1 total)
  • Yes – and you should be able to find this information in the CODEX (I’m too crazed right now to look for you….

    but –

    You should be able to call a specific category by Category NAME or Number (ID) – below I have an example I use for a User Group I wrote a CMS for

    ———————-

    <?php query_posts(‘category_name=nameHere’); // exclude all except this category ?>

    <!– begin The Loop –>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <?php the_date(”,'<span class=”date”>’,'</span>’); ?>

    <div class=”featurebox” id=”post-<?php the_ID(); ?>”>
    <h4 class=”storytitle”>” rel=”bookmark”><?php the_title(); ?></h4>
    <div class=”meta”><?php _e(“Filed under:”); ?> <?php the_category(‘|’) ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__(‘Edit This’)); ?></div>

    <div class=”normal”>
    <?php the_content(__(‘(more…)’)); ?>
    </div>
    <!— end loop –>

    hope this helps

Viewing 1 replies (of 1 total)
  • The topic ‘Show particular category’ is closed to new replies.