[gnomeweb-wp] ignore error when loading custom post if type is not recognized
- From: Vinicius Scopel Depizzol <vdepizzol src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnomeweb-wp] ignore error when loading custom post if type is not recognized
- Date: Tue, 29 Mar 2011 05:15:12 +0000 (UTC)
commit 59fa8b77972f32839b652bd612c9e2f737a47436
Author: Vinicius Depizzol <vdepizzol gmail com>
Date: Tue Mar 29 02:01:46 2011 -0300
ignore error when loading custom post if type is not recognized
wp-content/themes/gnome-grass/single.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/wp-content/themes/gnome-grass/single.php b/wp-content/themes/gnome-grass/single.php
index ba061b2..f4b70aa 100644
--- a/wp-content/themes/gnome-grass/single.php
+++ b/wp-content/themes/gnome-grass/single.php
@@ -17,7 +17,7 @@ if($post_type == 'post') {
} else {
- echo 'FIXME '.$post_type;
+ require_once('one-column.php');
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]