Guest User

Untitled

a guest
May 29th, 2018
27
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3. * @Theme Name : wallstreet-Pro
  4. * @file : footer.php
  5. * @package : wallstreet-Pro
  6. * @author : webriti
  7. * @filesource : wp-content/themes/wallstreet/footer.php
  8. */
  9. ?>
  10. <!-- Footer Widget Secton -->
  11. <?php $wallstreet_pro_options=theme_data_setup();
  12. $current_options = wp_parse_args( get_option( 'wallstreet_pro_options', array() ), $wallstreet_pro_options ); ?>
  13. <div class="footer_section">
  14. <?php if($current_options['footer_social_media_enabled']==true) { ?>
  15. <div class="footer-social-area"><ul class="footer-social-icons">
  16. <?php
  17. if($current_options['social_media_twitter_link']!='') { ?>
  18. <li><a href="<?php echo esc_url($current_options['social_media_twitter_link']); ?>" <?php if($current_options['twitter_link_new_tab']==true){ echo "target='_blank'"; } ?> ><i class="fa fa-twitter"></i></a></li>
  19. <?php } if($current_options['social_media_facebook_link']!='') { ?>
  20. <li><a href="<?php echo esc_url($current_options['social_media_facebook_link']); ?>" <?php if($current_options['facebook_link_new_tab']==true){ echo "target='_blank'"; } ?> ><i class="fa fa-facebook"></i></a></li>
  21. <?php } if($current_options['social_media_googleplus_link']!='') { ?>
  22. <li><a href="<?php echo esc_url($current_options['social_media_googleplus_link']); ?>" <?php if($current_options['google_link_new_tab']==true){ echo "target='_blank'"; } ?> ><i class="fa fa-google-plus"></i></a></li>
  23. <?php } if($current_options['social_media_linkedin_link']!='') { ?>
  24. <li><a href="<?php echo esc_url($current_options['social_media_linkedin_link']); ?>" <?php if($current_options['linkdin_link_new_tab']==true){ echo "target='_blank'"; } ?> ><i class="fa fa-linkedin"></i></a></li>
  25. <?php } if($current_options['social_media_pinterest_link']!='') { ?>
  26. <li><a href="<?php echo esc_url($current_options['social_media_pinterest_link']); ?>" <?php if($current_options['pintrest_link_new_tab']==true){ echo "target='_blank'"; } ?> ><i class="fa fa-pinterest"></i></a></li>
  27. <?php } if($current_options['social_media_youtube_link']!='') { ?>
  28. <li><a href="<?php echo esc_url($current_options['social_media_youtube_link']); ?>" <?php if($current_options['youtube_link_new_tab']==true){ echo "target='_blank'"; } ?> ><i class="fa fa-youtube"></i></a></li>
  29. <?php } if($current_options['social_media_skype_link']!='') { ?>
  30. <li><a href="<?php echo esc_url($current_options['social_media_skype_link']); ?>" <?php if($current_options['skype_link_new_tab']==true){ echo "target='_blank'"; } ?> ><i class="fa fa-skype"></i></a></li>
  31. <?php } if($current_options['social_media_rssfeed_link']!='') { ?>
  32. <li><a href="<?php echo esc_url($current_options['social_media_rssfeed_link']); ?>" <?php if($current_options['rss_link_new_tab']==true){ echo "target='_blank'"; } ?> ><i class="fa fa-rss"></i></a></li>
  33. <?php } if($current_options['social_media_wordpress_link']!='') { ?>
  34. <li><a href="<?php echo esc_url($current_options['social_media_wordpress_link']); ?>" <?php if($current_options['wp_link_new_tab']==true){ echo "target='_blank'"; } ?> ><i class="fa fa-tumblr "></i></a></li>
  35. <?php } if($current_options['social_media_dropbox_link']!='') { ?>
  36. <li><a href="<?php echo esc_url($current_options['social_media_dropbox_link']); ?>" <?php if($current_options['db_link_new_tab']==true){ echo "target='_blank'"; } ?> ><i class="fa fa-dropbox"></i></a></li>
  37. <?php } ?>
  38.  
  39. </div></ul>
  40. <?php } ?>
  41.  
  42. <div class="container">
  43.  
  44. <?php if ( is_active_sidebar( 'footer-widget-area' ) ) { ?>
  45. <div class="row footer-widget-section">
  46. <?php dynamic_sidebar( 'footer-widget-area' ); ?>
  47. </div>
  48. <?php } ?>
  49.  
  50. <div class="row">
  51. <div class="col-md-12">
  52. <div class="footer-copyright">
  53. <p><?php echo $current_options['footer_copyright']; ?></p>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. <!------ Google Analytics code --------->
  60. <?php
  61. if($current_options['webrit_custom_css']!='') { ?>
  62. <style>
  63. <?php echo $current_options['webrit_custom_css']; ?>
  64. </style>
  65. <?php }
  66. if($current_options['google_analytics']!='') { ?>
  67. <script type="text/javascript">
  68. <?php echo $current_options['google_analytics']; ?>
  69. </script>
  70. <?php } ?>
  71. <!------ Google Analytics code end ------->
  72. </div> <!-- end of wrapper -->
  73. <?php wp_footer(); ?>
  74. </body>
  75. </html>
RAW Paste Data