[gnome-web-www/wptest] excluding posts from the press release category for home page
- From: Christy Eller <czeller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-web-www/wptest] excluding posts from the press release category for home page
- Date: Tue, 27 Mar 2012 21:03:18 +0000 (UTC)
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]