Guest User

footer.php

a guest
May 5th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.64 KB | None | 0 0
  1. <!-- Footer -->
  2. </section>
  3. <footer id="footer">
  4. <div class="pattern-overlay">
  5. <!-- Footer Top --><?php
  6. $wl_theme_options = weblizar_skin_options();
  7. $enable_footer_color = $wl_theme_options['enable_footer_color'];
  8. $footer_color = $wl_theme_options['footer_color'];
  9. $footer_color_2 = $wl_theme_options['footer_color_2']; ?>
  10. <div class="footer-top" <?php if($enable_footer_color=="on") { ?>style="background:<?php echo esc_attr($footer_color); ?>;"<?php } ?>>
  11. <div class="container">
  12. <div class="row">
  13. <?php if ( is_active_sidebar( 'footer-widget-area' ) )
  14. { dynamic_sidebar( 'footer-widget-area' );
  15. }else
  16. { $args = array(
  17. 'before_widget' => ' <section class="col-lg-3 col-md-3 col-xs-12 col-sm-3 footer-one wow fadeIn">',
  18. 'after_widget' => '</section>',
  19. 'before_title' => ' <h3 class="light">',
  20. 'after_title' => '</h3>' );
  21. the_widget('WP_Widget_Archives', null, $args);
  22. } ?>
  23. </div>
  24. </div>
  25. </div>
  26. <!-- /Footer Top -->
  27. <!-- Footer Bottom -->
  28. <?php $wl_theme_options = weblizar_footer_options(); ?>
  29. <div class="creative-footer-bottom" <?php if($enable_footer_color=="on") { ?>style="background:<?php echo esc_attr($footer_color_2); ?>;"<?php } ?>>
  30. <div class="container">
  31. <div class="row">
  32. <div class="col-lg-6 col-md-6 col-xs-12 col-sm-6 ">
  33. <p class="credits"><?php echo esc_attr($wl_theme_options['footer_customizations'])." ".esc_attr($wl_theme_options['developed_by_text'])." "; ?><a href='<?php if($wl_theme_options["developed_by_link"]!="" ){ echo esc_url($wl_theme_options["developed_by_link"]);} ?>'><?php echo esc_attr($wl_theme_options['developed_by_weblizar_text']); ?></a></p>
  34. </div>
  35. <?php $wl_theme_options = weblizar_social_options();
  36. if($wl_theme_options['footer_social_media_enabled']=='on'){ ?>
  37. <div class="col-lg-6 col-md-6 col-xs-12 col-sm-6 ">
  38. <ul class="social pull-right">
  39. <?php if($wl_theme_options['facebook_link']!='') { ?>
  40. <li class="facebook"><a href="<?php echo esc_url($wl_theme_options['facebook_link']); ?>"><i class="fa fa-facebook"></i></a></li>
  41. <?php } if($wl_theme_options['twitter_link']!='') {?>
  42. <li class="twitter"><a href="<?php echo esc_url($wl_theme_options['twitter_link']); ?>"><i class="fa fa-twitter"></i></a></li>
  43. <?php } if($wl_theme_options['dribbble_link']!='') {?>
  44. <li class="dribbble"><a href="<?php echo esc_url($wl_theme_options['dribbble_link']); ?>"><i class="fa fa-dribbble"></i></a></li>
  45. <?php } if($wl_theme_options['linkedin_link']!='') {?>
  46. <li class="linkedin"><a href="<?php echo esc_url($wl_theme_options['linkedin_link']); ?>"><i class="fa fa-linkedin"></i></a></li>
  47. <?php } if($wl_theme_options['rss_link']!='') {?>
  48. <li class="rss"><a href="<?php echo esc_url($wl_theme_options['rss_link']); ?>"><i class="fa fa-rss"></i></a></li>
  49. <?php } ?>
  50. </ul>
  51. </div>
  52. <?php } ?>
  53. </div>
  54. </div>
  55. </div>
  56. <!-- /Footer Bottom -->
  57. <!-- /Footer Bottom -->
  58. </div>
  59. </footer>
  60. <?php // google_analytics code
  61. $wl_theme_options = weblizar_general_options();
  62. if($wl_theme_options['google_analytics']!='') { echo "<script>".esc_js($wl_theme_options['google_analytics'])."</script>"; }
  63. // custom css code
  64. if($wl_theme_options['custom_css']!='') { echo "<style>".$wl_theme_options['custom_css']."</style>"; }
  65. ?>
  66. <!-- Scroll To Top -->
  67. <a href="#" class="scrollup"><i class="fa fa-angle-up"></i></a>
  68. <?php //require('style-switcher.php'); ?>
  69. </div>
  70. <!-- /Wrap -->
  71. <script type="text/javascript">
  72. jQuery(function() {
  73.  
  74. var Page = (function() {
  75.  
  76. var $navArrows = jQuery( '#nav-arrows' ),
  77. $nav = jQuery( '#nav-dots > span' ),
  78. slitslider = jQuery( '#slider' ).slitslider( {
  79. onBeforeChange : function( slide, pos ) {
  80.  
  81. $nav.removeClass( 'nav-dot-current' );
  82. $nav.eq( pos ).addClass( 'nav-dot-current' );
  83.  
  84. }
  85. } ),
  86.  
  87. init = function() {
  88.  
  89. initEvents();
  90.  
  91. },
  92. initEvents = function() {
  93.  
  94. // add navigation events
  95. $navArrows.children( ':last' ).on( 'click', function() {
  96.  
  97. slitslider.next();
  98. return false;
  99.  
  100. } );
  101.  
  102. $navArrows.children( ':first' ).on( 'click', function() {
  103.  
  104. slitslider.previous();
  105. return false;
  106.  
  107. } );
  108.  
  109. $nav.each( function( i ) {
  110.  
  111. jQuery( this ).on( 'click', function( event ) {
  112.  
  113. var $dot = jQuery( this );
  114.  
  115. if( !slitslider.isActive() ) {
  116.  
  117. $nav.removeClass( 'nav-dot-current' );
  118. $dot.addClass( 'nav-dot-current' );
  119.  
  120. }
  121.  
  122. slitslider.jump( i + 1 );
  123. return false;
  124.  
  125. } );
  126.  
  127. } );
  128.  
  129. };
  130.  
  131. return { init : init };
  132.  
  133. })();
  134.  
  135. Page.init();
  136.  
  137. /**
  138. * Notes:
  139. *
  140. * example how to add items:
  141. */
  142.  
  143. /*
  144.  
  145. var $items = $('<div class="sl-slide sl-slide-color-2" data-orientation="horizontal" data-slice1-rotation="-5" data-slice2-rotation="10" data-slice1-scale="2" data-slice2-scale="1"><div class="sl-slide-inner bg-1"><div class="sl-deco" data-icon="t"></div><h2>some text</h2><blockquote><p>bla bla</p><cite>Margi Clarke</cite></blockquote></div></div>');
  146.  
  147. // call the plugin's add method
  148. ss.add($items);
  149.  
  150. */
  151.  
  152. });
  153. </script>
  154. <?php wp_footer(); ?>
  155. </body>
  156. </html>
Add Comment
Please, Sign In to add comment