GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

vio / wtf fork watch download tarball
public
Description: Wordpress Theme Partials (WTP) plugin
Clone URL: git://github.com/vio/wtf.git
added names to 404 and search templates
vio (author)
Fri Oct 03 16:44:35 -0700 2008
commit  33d734f9fe5db72034d952d632cdc8162d889ec6
tree    b5daa7dd0ef88ae255c6adb08d4053100e4e5b61
parent  e67d4f37e707a399028a4cfdafb263a7fce95252
...
92
93
94
95
 
96
97
98
 
99
100
101
...
110
111
112
113
 
114
115
116
...
92
93
94
 
95
96
97
 
98
99
100
101
...
110
111
112
 
113
114
115
116
0
@@ -92,10 +92,10 @@ class wtpClass {
0
 
0
     /* 404 */
0
     elseif(is_404()):
0
- $this->load_item('Not found');
0
+ $this->load_item(array('Not found','404'));
0
 
0
     elseif(is_search()):
0
- $this->load_item('Search results');
0
+ $this->load_item(array('Search results','search'));
0
         
0
     endif;
0
 
0
@@ -110,7 +110,7 @@ class wtpClass {
0
     elseif($type=='post'):
0
       $this->tree[]=array($item->ID,$item->post_title,$item->post_name,$type,$siblings);  
0
     else:
0
- $this->tree[]=array(0,$item,'','',$siblings);
0
+ $this->tree[]=array(0,$item[0],$item[1],'',$siblings);
0
     endif;
0
   }
0
 

Comments

    No one has commented yet.