[gnome-web-www/wptest] changed syntax to exclude press release posts
- From: Christy Eller <czeller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-web-www/wptest] changed syntax to exclude press release posts
- Date: Tue, 27 Mar 2012 21:17:18 +0000 (UTC)
commit fb69b3f5c7f6c4d114585c3dd0a5604e41d0b0d3
Author: czeller <iamchristyeller gmail com>
Date: Tue Mar 27 15:27:53 2012 -0600
changed syntax to exclude press release posts
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 337eb41..acd9713 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, 'cat=-11'));
+ query_posts ('cat=-11')(array('post_type' => 'post', 'posts_per_page' => 3));
while ( have_posts() ) : the_post();
?>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]