Advertisement
Guest User

spun-child footer.php

a guest
Dec 10th, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.23 KB | None | 0 0
  1. <?php
  2. /**
  3.  * The template for displaying the footer.
  4.  *
  5.  * Contains the closing of the id=main div and all content after
  6.  *
  7.  * @package Spun
  8.  */
  9.  
  10. $spun_facebook = get_theme_mod( 'jetpack-facebook' );
  11. $spun_twitter = get_theme_mod( 'jetpack-twitter' );
  12. $spun_tumblr = get_theme_mod( 'jetpack-tumblr' );
  13. $spun_linkedin = get_theme_mod( 'jetpack-linkedin' );
  14. ?>
  15.  
  16.     </div><!-- #main .site-main -->
  17.  
  18.     <footer id="colophon" class="site-footer" role="contentinfo">
  19.         <div class="site-info">
  20.             <?php do_action( 'spun_credits' ); ?>
  21.             <a href="http://wordpress.org/" rel="generator"><?php printf( __( 'Proudly powered by %s', 'spun' ), 'WordPress' ); ?></a>
  22.             <span class="sep"> | </span>
  23.             <?php printf( __( 'Theme: %1$s by %2$s.', 'spun' ), 'spun', '<a href="http://carolinemoore.net/" rel="designer">Caroline Moore</a>' ); ?>
  24.         </div><!-- .site-info -->
  25.         <?php if ( $spun_facebook || $spun_twitter || $spun_tumblr || $spun_linkedin ) : ?>
  26.             <div class="social-links">
  27.             <?php if ( $spun_facebook ) : ?>
  28.                 <a href="<?php echo esc_url( $spun_facebook ); ?>" class="facebook-link" data-icon="&#xF204;">
  29.                     <span class="screen-reader-text"><?php esc_html_e( 'Facebook', 'spun' ); ?></span>
  30.                 </a>
  31.             <?php endif; ?>
  32.             <?php if ( $spun_linkedin ) : ?>
  33.                 <a href="<?php echo esc_url( $spun_linkedin ); ?>" class="linkedin-link" data-icon="&#xF214;">
  34.                     <span class="screen-reader-text"><?php esc_html_e( 'LinkedIn', 'spun' ); ?></span>
  35.                 </a>
  36.             <?php endif; ?>
  37.             <?php if ( $spun_twitter ) : ?>
  38.                 <a href="<?php echo esc_url( $spun_twitter ); ?>" class="twitter-link" data-icon="&#xF202;">
  39.                     <span class="screen-reader-text"><?php esc_html_e( 'Twitter', 'spun' ); ?></span>
  40.                 </a>
  41.             <?php endif; ?>
  42.             <?php if ( $spun_tumblr ) : ?>
  43.                 <a href="<?php echo esc_url( $spun_tumblr ); ?>" class="tumblr-link" data-icon="&#xF214;">
  44.                     <span class="screen-reader-text"><?php esc_html_e( 'Tumblr', 'spun' ); ?></span>
  45.                 </a>
  46.             <?php endif; ?>
  47.                         <span class="sep"> | </span>
  48.                         Content Copyright 2013 Art Donsky
  49.             </div>
  50.         <?php endif; ?>
  51.     </footer><!-- #colophon .site-footer -->
  52. </div><!-- #page .hfeed .site -->
  53.  
  54. <?php wp_footer(); ?>
  55.  
  56. </body>
  57. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement