• Hi
    I’m excluding some categories in archive.php using this code ….

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
      	<?php if (!in_category(23,10,17,14,11,13,12,7,28,22,29,27,26,21,16,15,19,20,25,18,24,8,9,33,32,34,35)) { ?>
        <h5><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a> &nbsp; <?php the_time('F j, Y'); ?></h5>
        <?php } ?>
    
      <?php endwhile;?>

    It seems to be half working. The months still show up in the archive widget and the highlighted days in the calendar. When I click on these links I get a blank white page. How can I destroy these links completely? I’ve tried resetting the permalinks but it did nothing.

    Thanks
    Mark

  • The topic ‘excluding categories gives blank pages in calendar widget’ is closed to new replies.