[gnome-web-www/wptest] excluding posts from the press release category for home page



commit 3fc934094c195153c38c24d9567e5dbe1e7ecf72
Author: czeller <iamchristyeller gmail com>
Date:   Tue Mar 27 15:13:12 2012 -0600

    excluding posts from the press release category for home page

 theme/page-home.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/theme/page-home.php b/theme/page-home.php
index dd27ea3..337eb41 100644
--- a/theme/page-home.php
+++ b/theme/page-home.php
@@ -109,7 +109,7 @@ require_once("header.php"); ?>
                     
                         <?php
                         
-                        query_posts(array('post_type' => 'post', 'posts_per_page' => 3));
+                        query_posts(array('post_type' => 'post', 'posts_per_page' => 3, 'cat=-11'));
                         
                         while ( have_posts() ) : the_post();
                         ?>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]