Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $site_logo = Village::get_theme_mod( "site_footer_logo", null );
- if ( $site_logo && is_array( $site_logo ) && ! empty( $site_logo['url'] ) ) {
- $header['style']['height'] = $site_logo['height'] . 'px';
- $site_logo = $site_logo['url'];
- } else {
- $site_logo = null;
- }
- $site_title = get_bloginfo( 'name' );
- ?>
- </div><!-- #content -->
- <footer id="footer" class="site-footer" role="contentinfo">
- <div class="site-footer__inner">
- <div class="site-title">
- <!-- BEGIN Logo -->
- <a class="site-logo" href="<?php echo home_url(); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
- <?php if ( null != $site_logo ): ?>
- <img src="<?php echo esc_url( $site_logo ); ?>" alt="<?php echo esc_attr( $site_title ); ?>" />
- <?php else: ?>
- <?php echo esc_html( $site_title ); ?>
- <?php endif; ?>
- </a>
- <!-- END Logo -->
- </div>
- <?php wp_nav_menu( array( 'theme_location' => 'footer-menu' ) ); ?>
- <div class="site-info">
- <?php
- $copyright_text = Village::get_theme_mod('site_footer_text', '');
- $copyright_text = str_replace('%Y', date('Y'), $copyright_text);
- $copyright_text = str_replace('%y', date('y'), $copyright_text );
- echo wp_kses_post( $copyright_text );
- ?>
- </div><!-- .site-info -->
- </div>
- </footer><!-- #colophon -->
- </div><!-- #page -->
- <?php
- if( Village::get_theme_mod('enable_default_gallery', true ) ) {
- if( is_watson_portfolio() ) {
- get_template_part( 'portfolio/PhotoSwipe' );
- }
- }
- ?>
- <?php wp_footer(); ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement