Forum Replies Created

Viewing 1 replies (of 1 total)
  • Here is the top of my “home.php”, which now only displays posts in the “Announcements” category:

    1 <?php get_header(); ?>
    2
    3 <div id=”content” class=”narrowcolumn”>
    4
    5 <?php if (have_posts()) : ?>
    6
    7 <?php while (have_posts()) : the_post(); ?>
    8
    9 <?php
    10 if( !preg_match( ‘/announcements/i’, get_the_category_list() ) )
    11 {
    12 continue;
    13 }
    14 ?>

Viewing 1 replies (of 1 total)