footer里的代码<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content
* after. Calls sidebar-footer.php for bottom widgets.
*
* @package WordPress
* @subpackage Twenty_Ten
* @since Twenty Ten 1.0
*/
?>
</div><!-- #ndqyleft --></div><!-- #ndqy -->
</div><!-- #main --> <div id="footer" role="contentinfo">
<div id="colophon"><?php
if (is_home()){
get_sidebar( 'footerfirst' );
}
?> <div id="site-info" class="widget-area">
<?php
get_sidebar( 'footer' );
?>
<div id="themeby"><span> Theme <?php echo ndqy_out();?></span></div>
<?php get_sidebar( 'footerfourth' ); ?>
</div><!-- #site-info -->
<div id="site-generator">
</div>
<!-- #site-generator --> </div><!-- #colophon -->
</div><!-- #footer --></div><!-- #wrapper -->
</div><!-- #ndqybody -->
</body>
</html>
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content
* after. Calls sidebar-footer.php for bottom widgets.
*
* @package WordPress
* @subpackage Twenty_Ten
* @since Twenty Ten 1.0
*/
?>
</div><!-- #ndqyleft --></div><!-- #ndqy -->
</div><!-- #main --> <div id="footer" role="contentinfo">
<div id="colophon"><?php
if (is_home()){
get_sidebar( 'footerfirst' );
}
?> <div id="site-info" class="widget-area">
<?php
get_sidebar( 'footer' );
?>
<div id="themeby"><span> Theme <?php echo ndqy_out();?></span></div>
<?php get_sidebar( 'footerfourth' ); ?>
</div><!-- #site-info -->
<div id="site-generator">
</div>
<!-- #site-generator --> </div><!-- #colophon -->
</div><!-- #footer --></div><!-- #wrapper -->
</div><!-- #ndqybody -->
</body>
</html>
<?php
if ( ! is_active_sidebar( 'second-footer-widget-area' ) && ! is_active_sidebar( 'third-footer-widget-area' ) ) return; // If we get this far, we have widgets. Let do this.?>
<?php if ( is_active_sidebar( 'second-footer-widget-area' ) ) : ?> <div id="second" class="widget-area"> <ul class="footxoxo"> <?php dynamic_sidebar( 'second-footer-widget-area' ); ?> </ul> </div><!-- #second .widget-area --><?php endif; ?><?php if ( is_active_sidebar( 'third-footer-widget-area' ) ) : ?> <div id="third" class="widget-area"> <ul class="footxoxo"> <?php dynamic_sidebar( 'third-footer-widget-area' ); ?> </ul> </div><!-- #third .widget-area --><?php endif; ?>
<?php if (! is_active_sidebar( 'first-footer-widget-area' )) return; // If we get this far, we have widgets. Let do this.?>
<div id="footer-widget-area" role="complementary">
<?php if ( is_active_sidebar( 'first-footer-widget-area' ) ) : ?>
<div id="first" class="widget-area">
<ul class="footxoxo">
<?php dynamic_sidebar( 'first-footer-widget-area' ); ?>
</ul>
</div><!-- #first .widget-area -->
<?php endif; ?>
</div><!-- #footer-widget-area -->
为什么删除这段代码就打不开网页了,是哪个部分控制的?