Index: trunk/xpressme_integration_kit/wp-config.php
===================================================================
--- trunk/xpressme_integration_kit/wp-config.php	(revision 232)
+++ trunk/xpressme_integration_kit/wp-config.php	(revision 252)
@@ -111,17 +111,19 @@
 	}
 
+	ob_start();	
+		if($xoops_config->is_wp20 )
+			require_once dirname( __FILE__ ).'/include/old_template-loader.php' ;
+		else
+			require_once( ABSPATH . WPINC . '/template-loader.php' );
+		$wp_output = ob_get_contents();
+	ob_end_clean();
 	// It judges it here because it does in is_index_page() through feed to which the permalink is set. 
 	if (is_wordpress_style() || is_feed()) {
-		require_once( ABSPATH . WPINC . '/template-loader.php' );
+		echo $wp_output;
 	} else {
-		ob_start();	
-			require_once( ABSPATH . WPINC . '/template-loader.php' );
-			$wp_output = ob_get_contents();
-		ob_end_clean();
 		require_once( ABSPATH .'/include/xpress_render.php' );
 		xpress_render($wp_output);
 	}
-		
-	
+
 	//When there is no block cache, and an optional block is different, cache is refreshed. 
 	//When adding, and changing and deleting Post & Comment, block cache is refreshed by add_action at any time. 
