Code for the 2012 WordPress Theme footer.php


This entry is part 2 of 4 in the series WordPress Themes

Here is the footer.php file for the WordPress theme Twenty Twelve.

This is just part of a series of different pages that make up a website.

With WordPress you don’t really need to know these codes but if you want to customize your site and move it away from the theme you are using, you may wish to look at the php and html code.

<?php
/**
 * The template for displaying the footer
 *
 * Contains footer content and the closing of the #main and #page div elements.
 *
 * @package WordPress
 * @subpackage Twenty_Twelve
 * @since Twenty Twelve 1.0
 */
?>
	</div><!-- #main .wrapper -->
	<footer id="colophon" role="contentinfo">
		<div class="site-info">
			<?php do_action( 'twentytwelve_credits' ); ?>
			<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentytwelve' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); ?></a>
		</div><!-- .site-info -->
	</footer><!-- #colophon -->
</div><!-- #page -->

<?php wp_footer(); ?>
</body>
</html>
Series Navigation<< Code for the 2012 WordPress ThemeCode for the 2012 WordPress Theme 404.php >>