2010-03-30 00:03:15 +02:00
|
|
|
<?php
|
|
|
|
/**
|
2013-09-25 19:04:10 +02:00
|
|
|
* Template for displaying the footer
|
2010-03-30 00:03:15 +02:00
|
|
|
*
|
|
|
|
* Contains the closing of the id=main div and all content
|
2011-12-16 18:13:16 +01:00
|
|
|
* after. Calls sidebar-footer.php for bottom widgets.
|
2010-03-30 00:03:15 +02:00
|
|
|
*
|
|
|
|
* @package WordPress
|
2010-05-16 19:10:21 +02:00
|
|
|
* @subpackage Twenty_Ten
|
2010-05-17 08:36:11 +02:00
|
|
|
* @since Twenty Ten 1.0
|
2010-03-30 00:03:15 +02:00
|
|
|
*/
|
|
|
|
?>
|
2010-02-07 17:16:26 +01:00
|
|
|
</div><!-- #main -->
|
2010-02-08 18:59:08 +01:00
|
|
|
|
2010-05-10 23:10:12 +02:00
|
|
|
<div id="footer" role="contentinfo">
|
2010-02-07 17:16:26 +01:00
|
|
|
<div id="colophon">
|
2010-02-08 18:59:08 +01:00
|
|
|
|
2010-05-17 08:36:11 +02:00
|
|
|
<?php
|
2013-10-09 22:39:09 +02:00
|
|
|
/*
|
2017-09-08 20:13:43 +02:00
|
|
|
* A sidebar in the footer? Yep. You can customize
|
2010-05-17 08:36:11 +02:00
|
|
|
* your footer with four columns of widgets.
|
|
|
|
*/
|
|
|
|
get_sidebar( 'footer' );
|
|
|
|
?>
|
2010-02-08 18:59:08 +01:00
|
|
|
|
2010-02-07 17:16:26 +01:00
|
|
|
<div id="site-info">
|
2015-01-22 01:42:44 +01:00
|
|
|
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
|
2010-05-09 11:29:06 +02:00
|
|
|
<?php bloginfo( 'name' ); ?>
|
|
|
|
</a>
|
Bundled Themes: Add link to privacy policy page in footer.
If a privacy policy has been set, then a link to it will automatically be shown in the footer.
The element containing the "Proudly powered by WordPress" link was chosen for the new policy link, in order to minimize visual conflicts with custom CSS that was written before the new link existed. Unfortunately, some minor conflicts are expected and unavoidable. Adding this link is required as part of GDPR compliance, and the benefits outweigh the downsides.
To further mitigate the conflicts, a new `imprint` class was added to the "Proudly powered..." link, in order to facilitate targeting each link invididually with custom styles.
Props xkon, laurelfulford, birgire, azaozz, iandunn.
See #43715.
Built from https://develop.svn.wordpress.org/trunk@43051
git-svn-id: http://core.svn.wordpress.org/trunk@42880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-01 08:28:21 +02:00
|
|
|
<?php
|
|
|
|
if ( function_exists( 'the_privacy_policy_link' ) ) {
|
|
|
|
the_privacy_policy_link( '<span role="separator" aria-hidden="true"></span>', '' );
|
|
|
|
}
|
|
|
|
?>
|
2010-05-21 20:56:27 +02:00
|
|
|
</div><!-- #site-info -->
|
2010-02-08 18:59:08 +01:00
|
|
|
|
2010-02-07 17:16:26 +01:00
|
|
|
<div id="site-generator">
|
2013-09-25 19:04:10 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Fires before the Twenty Ten credits in the footer.
|
|
|
|
*
|
|
|
|
* @since Twenty Ten 1.0
|
|
|
|
*/
|
2017-12-01 00:11:00 +01:00
|
|
|
do_action( 'twentyten_credits' );
|
|
|
|
?>
|
Bundled Themes: Add link to privacy policy page in footer.
If a privacy policy has been set, then a link to it will automatically be shown in the footer.
The element containing the "Proudly powered by WordPress" link was chosen for the new policy link, in order to minimize visual conflicts with custom CSS that was written before the new link existed. Unfortunately, some minor conflicts are expected and unavoidable. Adding this link is required as part of GDPR compliance, and the benefits outweigh the downsides.
To further mitigate the conflicts, a new `imprint` class was added to the "Proudly powered..." link, in order to facilitate targeting each link invididually with custom styles.
Props xkon, laurelfulford, birgire, azaozz, iandunn.
See #43715.
Built from https://develop.svn.wordpress.org/trunk@43051
git-svn-id: http://core.svn.wordpress.org/trunk@42880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-01 08:28:21 +02:00
|
|
|
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyten' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyten' ); ?>">
|
|
|
|
<?php printf( __( 'Proudly powered by %s.', 'twentyten' ), 'WordPress' ); ?>
|
|
|
|
</a>
|
2010-05-21 20:56:27 +02:00
|
|
|
</div><!-- #site-generator -->
|
2010-02-08 18:59:08 +01:00
|
|
|
|
2010-02-07 17:16:26 +01:00
|
|
|
</div><!-- #colophon -->
|
|
|
|
</div><!-- #footer -->
|
2010-02-08 18:59:08 +01:00
|
|
|
|
|
|
|
</div><!-- #wrapper -->
|
2010-02-07 17:16:26 +01:00
|
|
|
|
2010-05-21 20:56:27 +02:00
|
|
|
<?php
|
2013-10-09 22:39:09 +02:00
|
|
|
/*
|
2013-09-25 19:04:10 +02:00
|
|
|
* Always have wp_footer() just before the closing </body>
|
2010-05-21 20:56:27 +02:00
|
|
|
* tag of your theme, or you will break many plugins, which
|
|
|
|
* generally use this hook to reference JavaScript files.
|
|
|
|
*/
|
2010-02-07 17:16:26 +01:00
|
|
|
|
2010-05-21 20:56:27 +02:00
|
|
|
wp_footer();
|
|
|
|
?>
|
2010-02-07 17:16:26 +01:00
|
|
|
</body>
|
|
|
|
</html>
|