Advertisement
dpwebdev

footer.php

Apr 29th, 2013
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.70 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
  6.  * after.  Calls sidebar-footer.php for bottom widgets.
  7.  *
  8.  * @package WordPress
  9.  * @subpackage Boilerplate
  10.  * @since Boilerplate 1.0
  11.  */
  12. ?>
  13.                 </section><!-- #main -->
  14.  
  15.             </div><!-- #sticky_main.clearfix -->   
  16.  
  17.         </div><!-- #wrap -->   
  18.  
  19.         <footer role="contentinfo" id="foot">
  20.  
  21.             <ul class="mobile" id="foot-nav">
  22.  
  23.                 <li class="about_link"><a href="<?php bloginfo('url'); ?>/?page_id=54" class="no-ajaxy <?php if ( is_page(54) ) { echo 'current';} ?>">about us</a></li>
  24.                 <li class="bios_link"><a href="<?php bloginfo('url'); ?>/?page_id=512" class="no-ajaxy <?php if ( is_page(512) ) { echo ' current'; } ?>">staff bios</a></li>
  25.                 <li class="results_link"><a href="<?php bloginfo('url'); ?>/?page_id=42" class="no-ajaxy <?php if ( is_page(42) || 'case_study' == get_post_type() ) { echo 'current'; } ?>">results</a></li>
  26.                 <li class="blog_link"><a href="<?php bloginfo('url'); ?>/blog" class="no-ajaxy <?php if ( is_page(80) || 'post' == get_post_type()) { echo 'current'; } ?>">blog</a></li>
  27.                 <li class="connect_link"><a href="<?php home_url('/'); ?>?page_id=485" class="no-ajaxy <?php if (is_page(485)) { echo 'current'; } ?>">contact us</a></li>
  28.  
  29.             </ul>
  30.  
  31.             <div id="foot_logo" class="mobhide"></div>
  32.  
  33.             <div id="foot-wrap">
  34.  
  35.                 <div id="foot_social" class="mobhide">
  36.                     <ul>
  37.                         <li><a href="https://www.facebook.com/dppad" target="_blank" id="fb">facebook</a></li>
  38.                         <li><a href="https://twitter.com/dppad/" target="_blank" id="tw">twitter</a></li>
  39.                         <li><a href="http://www.linkedin.com/company/2684728?trk=tyah" target="_blank" id="li">linkedin</a></li>
  40.                         <li><a href="http://www.youtube.com/user/dppad" target="_blank" id="yt">youtube</a></li>
  41.                     </ul>
  42.                 </div>
  43.  
  44.                 <div id="foot_social_mob" class="mobile">
  45.                     <ul>
  46.                         <li><a href="fb://profile/154358674633314" target="_blank" id="fb-mob">facebook</a></li>
  47.                         <li><a href="twitter://user?screen_name=dppad" target="_blank" id="tw-mob">twitter</a></li>
  48.                         <li><a href="http://www.linkedin.com/company/2684728?trk=tyah" target="_blank" id="li-mob">linkedin</a></li>
  49.                         <li><a href="http://www.youtube.com/user/dppad" target="_blank" id="yt-mob">youtube</a></li>
  50.                     </ul>
  51.                 </div>
  52.  
  53.                 <div id="foot_signup" class="mobhide">
  54.  
  55.                     <?php echo do_shortcode('[gravityform id=3 title=true ajax=true]'); ?>
  56.  
  57.                 </div>
  58.  
  59.             </div><!-- #footwrap -->
  60.  
  61.             <div id="foot_legal">  
  62.  
  63.                 <p id="address"><a href="http://goo.gl/maps/Z8CCQ" target="_blank">201 S. Orange Ave., Suite 890 Orlando, FL</a> 32801</p>
  64.  
  65.                 <p id="foot-phone" class="mobile"><a href="tel:+14072269774" class="phone no-ajaxy">407.226.9774</a></p>
  66.  
  67.                 <p id="copy">COPYRIGHT <a href="<?php echo home_url( '/' ) ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">DIFFERENT PERSPECTIVE</a> <?php echo date("Y") ?></p>
  68.  
  69.             </div> 
  70.  
  71.         </footer><!-- footer -->
  72.  
  73. <?php
  74.     /* Always have wp_footer() just before the closing </body>
  75.      * tag of your theme, or you will break many plugins, which
  76.      * generally use this hook to reference JavaScript files.
  77.      */
  78.     wp_footer();
  79. ?>
  80.             <script type="text/javascript">
  81.  
  82.             var _gaq = _gaq || [];
  83.             _gaq.push(['_setAccount', 'UA-39529581-1']);
  84.             _gaq.push(['_trackPageview']);
  85.  
  86.             (function() {
  87.             var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  88.             ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  89.             var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  90.             })();
  91.  
  92.         </script>
  93.        
  94.     </body>
  95.  
  96. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement