[gnome-web-www] only show news on the front page, not press releases



commit d6a5848b6ada4458cc2b9076ac7ae04c12797529
Author: Andreas Nilsson <anilsson redhat com>
Date:   Wed Mar 27 16:32:44 2013 -0300

    only show news on the front page, not press releases

 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 c77adc4..b43fd8a 100644
--- a/theme/page-home.php
+++ b/theme/page-home.php
@@ -55,7 +55,7 @@ The GNOME Project is a diverse international community which involves hundreds o
     <div class="news_list">
 <?php
 
-    query_posts (array('post_type' => 'post', 'posts_per_page' => 3));
+    query_posts (array('post_type' => 'post', 'category_name' => 'news', 'posts_per_page' => 3));
         
     while ( have_posts() ) : the_post();
 ?>


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