Initial commit
This commit is contained in:
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Displays footer widgets if assigned
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<?php
|
||||
if ( is_active_sidebar( 'sidebar-2' ) ||
|
||||
is_active_sidebar( 'sidebar-3' ) ) :
|
||||
?>
|
||||
|
||||
<aside class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Footer', 'twentyseventeen' ); ?>">
|
||||
<?php
|
||||
if ( is_active_sidebar( 'sidebar-2' ) ) {
|
||||
?>
|
||||
<div class="widget-column footer-widget-1">
|
||||
<?php dynamic_sidebar( 'sidebar-2' ); ?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
if ( is_active_sidebar( 'sidebar-3' ) ) {
|
||||
?>
|
||||
<div class="widget-column footer-widget-2">
|
||||
<?php dynamic_sidebar( 'sidebar-3' ); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</aside><!-- .widget-area -->
|
||||
|
||||
<?php endif; ?>
|
||||
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* Displays footer site info
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
<div class="site-info">
|
||||
<?php
|
||||
if ( function_exists( 'the_privacy_policy_link' ) ) {
|
||||
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
|
||||
}
|
||||
?>
|
||||
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyseventeen' ) ); ?>" class="imprint">
|
||||
<?php
|
||||
/* translators: %s: WordPress */
|
||||
printf( __( 'Proudly powered by %s', 'twentyseventeen' ), 'WordPress' );
|
||||
?>
|
||||
</a>
|
||||
</div><!-- .site-info -->
|
||||
Reference in New Issue
Block a user