• Resolved dshooter

    (@dshooter)


    Hi there,

    My main index file has this code :

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
    <div class=”postinfo”>
    By <?php the_author_posts_link(); ?> on <?php the_time(‘M j, Y’) ?> in <?php the_category(‘, ‘); ?> | <?php comments_popup_link(‘comments(0)’, ‘comments(1)’, ‘comments(%)’); ?>
    </div>
    <div class=”entry”>
    <?php the_content(‘Read the full article’); ?>
    <?php if ( function_exists(‘the_tags’) ) : ?>
    <div class=”tags”><?php the_tags(); ?></div>
    <?php endif; ?>
    </div>
    <div style=”clear:both;”></div>
    </div>

    <?php endwhile; endif; ?>

    and it displays all blog entries from all categories on the main page.
    But I do not want to display the blog entries that belong to one specific category called “Quickie”.
    How do I change the code to do that?

    Thanks,
    dshooter

  • The topic ‘Do not want to display blog entries for one category’ is closed to new replies.