footer.php 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. $spun_facebook = get_theme_mod( 'jetpack-facebook' );
  10. $spun_twitter = get_theme_mod( 'jetpack-twitter' );
  11. $spun_tumblr = get_theme_mod( 'jetpack-tumblr' );
  12. $spun_linkedin = get_theme_mod( 'jetpack-linkedin' );
  13. ?>
  14. </div><!-- #main .site-main -->
  15. <footer id="colophon" class="site-footer" role="contentinfo">
  16. <hr style="border-top: 1px dashed #000000; background-color:rgba(0, 0, 0, 0.0);">
  17. <div class="textarea" style="background-color:rgba(0, 0, 0, 0.75); padding-left:20px; padding-top:10px; padding-bottom:10px; " >
  18. <p style="color:#FFFFFF; margin-bottom:0px;"><?php _e( 'Juan Carlos Carvajal Bermúdez', 'spun' ); ?></p>
  19. </div>
  20. <?php if ( $spun_facebook || $spun_twitter || $spun_tumblr || $spun_linkedin ) : ?>
  21. <div class="social-links">
  22. <?php if ( $spun_facebook ) : ?>
  23. <a href="<?php echo esc_url( $spun_facebook ); ?>" class="facebook-link" data-icon="&#xF204;">
  24. <span class="screen-reader-text"><?php esc_html_e( 'Facebook', 'spun' ); ?></span>
  25. </a>
  26. <?php endif; ?>
  27. <?php if ( $spun_linkedin ) : ?>
  28. <a href="<?php echo esc_url( $spun_linkedin ); ?>" class="linkedin-link" data-icon="&#xF214;">
  29. <span class="screen-reader-text"><?php esc_html_e( 'LinkedIn', 'spun' ); ?></span>
  30. </a>
  31. <?php endif; ?>
  32. <?php if ( $spun_twitter ) : ?>
  33. <a href="<?php echo esc_url( $spun_twitter ); ?>" class="twitter-link" data-icon="&#xF202;">
  34. <span class="screen-reader-text"><?php esc_html_e( 'Twitter', 'spun' ); ?></span>
  35. </a>
  36. <?php endif; ?>
  37. <?php if ( $spun_tumblr ) : ?>
  38. <a href="<?php echo esc_url( $spun_tumblr ); ?>" class="tumblr-link" data-icon="&#xF214;">
  39. <span class="screen-reader-text"><?php esc_html_e( 'Tumblr', 'spun' ); ?></span>
  40. </a>
  41. <?php endif; ?>
  42. </div>
  43. <?php endif; ?>
  44. <!-- Piwik -->
  45. <script type="text/javascript">
  46. var _paq = _paq || [];
  47. /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  48. _paq.push(['trackPageView']);
  49. _paq.push(['enableLinkTracking']);
  50. (function() {
  51. var u="//piwik.juan-carlos.info/";
  52. _paq.push(['setTrackerUrl', u+'piwik.php']);
  53. _paq.push(['setSiteId', '1']);
  54. var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  55. g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
  56. })();
  57. </script>
  58. <!-- End Piwik Code -->
  59. </footer><!-- #colophon .site-footer -->
  60. </div><!-- #page .hfeed .site -->
  61. <?php wp_footer(); ?>
  62. </body>
  63. </html>