[gnomeweb-wp] ignore error when loading custom post if type is not recognized



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]