mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-24 10:09:47 +01:00
ff4d0e5249
git-svn-id: http://svn.automattic.com/wordpress/trunk@17787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
48 lines
1.5 KiB
PHP
48 lines
1.5 KiB
PHP
<?php
|
|
/**
|
|
* The template for displaying the footer.
|
|
*
|
|
* Contains the closing of the id=main div and all content after
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty Eleven
|
|
* @since Twenty Eleven 1.0
|
|
*/
|
|
?>
|
|
|
|
</div><!-- #main -->
|
|
|
|
<footer id="colophon" role="contentinfo">
|
|
|
|
<?php if ( is_active_sidebar( 'sidebar-3' ) || is_active_sidebar( 'sidebar-4' ) || is_active_sidebar( 'sidebar-5' ) ) : ?>
|
|
<div id="supplementary" <?php twentyeleven_footer_sidebar_class(); ?>>
|
|
<?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?>
|
|
<div id="first" class="widget-area" role="complementary">
|
|
<?php dynamic_sidebar( 'sidebar-3' ); ?>
|
|
</div><!-- #first .widget-area -->
|
|
<?php endif; ?>
|
|
|
|
<?php if ( is_active_sidebar( 'sidebar-4' ) ) : ?>
|
|
<div id="second" class="widget-area" role="complementary">
|
|
<?php dynamic_sidebar( 'sidebar-4' ); ?>
|
|
</div><!-- #second .widget-area -->
|
|
<?php endif; ?>
|
|
|
|
<?php if ( is_active_sidebar( 'sidebar-5' ) ) : ?>
|
|
<div id="third" class="widget-area" role="complementary">
|
|
<?php dynamic_sidebar( 'sidebar-5' ); ?>
|
|
</div><!-- #third .widget-area -->
|
|
<?php endif; ?>
|
|
</div><!-- #supplementary -->
|
|
<?php endif; ?>
|
|
|
|
<div id="site-generator">
|
|
<a href="http://wordpress.org/" rel="generator">Proudly powered by WordPress</a><span class="sep"> | </span><?php printf( __( 'Theme: %1$s.', 'twentyeleven' ), 'Twenty Eleven' ); ?>
|
|
</div>
|
|
</footer><!-- #colophon -->
|
|
</div><!-- #page -->
|
|
|
|
<?php wp_footer(); ?>
|
|
|
|
</body>
|
|
</html>
|