Advertisement
webriti

BusiProf Add more social link in footer

Jan 29th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.17 KB | None | 0 0
  1. <?php
  2. /*  *
  3.     * @Theme Name   :   BusiProf
  4.     * @file         :   footer.php
  5.     * @package      :   Busiprof
  6.     * @author       :   Hari Maliya
  7.     * @license      :   license.txt
  8.     * @filesource   :   wp-content/themes/Busiprof/footer.php
  9. */
  10. ?>
  11. <!-- Widget Section -->
  12. <div class="widget_section">
  13.     <div class="container">
  14.         <div class="row-fluid" id="footer_widget">     
  15.             <?php if ( is_active_sidebar( 'footer-widget-area' ) )
  16.                     {?>
  17.                   <div id="busiprof_area">
  18.                        <?php dynamic_sidebar( 'footer-widget-area' ); ?>
  19.                   </div>
  20.             <?php }else { ?>                
  21.             <div class="span3">
  22.                 <h2><?php _e('About Us','busi_prof'); ?></h2>
  23.                 <p><?php _e('We are a group of passionate designers and developers who really love to create awesome wordpress themes with amazing support and cooles video documentations...','busi_prof'); ?></p>
  24.             </div>                     
  25.             <div class="span3">
  26.                 <h2><?php _e('Twitter Updates','busi_prof'); ?></h2>
  27.                 <ul><li>
  28.                         <p><?php _e('Check out this great #themeforest Theme','busi_prof'); ?> <a href="#"><?php _e('http://t.co/sYStotrd','busi_prof'); ?></a></p>
  29.                         <?php _e('2 hours ago','busi_prof'); ?>
  30.                     </li>
  31.                     <li>
  32.                         <p><?php _e('Check out this great #themeforest Theme','busi_prof'); ?> <a href="#"><?php _e('http://t.co/sYStotrd','busi_prof'); ?></a></p>
  33.                         <?php _e('2 hours ago','busi_prof'); ?>
  34.                     </li>
  35.                 </ul>
  36.             </div>         
  37.             <div class="span3">
  38.                 <h2><?php _e('Flickr Photos','busi_prof'); ?></h2>
  39.                 <span><a href="#"><img alt="Flickr Photos" src="<?php echo BUSI_TEMPLATE_DIR_URI; ?>/images/photo1.png"></a></span>
  40.                 <span><a href="#"><img alt="Flickr Photos" src="<?php echo BUSI_TEMPLATE_DIR_URI; ?>/images/photo1.png"></a></span>
  41.                 <span><a href="#"><img alt="Flickr Photos" src="<?php echo BUSI_TEMPLATE_DIR_URI; ?>/images/photo1.png"></a></span>
  42.                 <span><a href="#"><img alt="Flickr Photos" src="<?php echo BUSI_TEMPLATE_DIR_URI; ?>/images/photo1.png"></a></span>
  43.                 <span><a href="#"><img alt="Flickr Photos" src="<?php echo BUSI_TEMPLATE_DIR_URI; ?>/images/photo1.png"></a></span>
  44.                 <span><a href="#"><img alt="Flickr Photos" src="<?php echo BUSI_TEMPLATE_DIR_URI; ?>/images/photo1.png"></a></span>
  45.             </div>
  46.            
  47.             <div class="span3">
  48.                 <h2><?php _e('Quick Contact','busi_prof'); ?></h2>
  49.                 <form>
  50.                     <input class="input-medium span9" type="text" placeholder="User Name">
  51.                     <input class="input-medium span9" type="text" placeholder="Email">
  52.                     <textarea class="span11" rows="2" placeholder="Message"></textarea>
  53.                     <a class="submit_btn" href="#"><?php _e('Submit','busi_prof'); ?></a>
  54.                 </form>
  55.             </div>
  56.             <?php } ?>
  57.        
  58.         </div>
  59.     </div>
  60. </div>
  61. <!-- /Widget Section -->
  62.  
  63. <!-- /Footer Section -->
  64. <?php $current_options=get_option('busiprof_pro_theme_options'); ?>
  65. <div class="footer-section">
  66.     <div class="container">
  67.         <div class="row">
  68.             <div class="span8">
  69.                 <p><?php if( $current_options['footer_copyright_text']!='')
  70.                     echo $current_options['footer_copyright_text'];
  71.                     else
  72.                      _e('All Rights Reserved by BusiProf. Designed and Developed by','busi_prof');
  73.                      ?>
  74.             </div>
  75.             <?php if($current_options['footer_social_media_enabled']=='on') { ?>
  76.             <div class="span4">
  77.                 <div class="footer_social pull-right">
  78.                     <a class="twitter" href="<?php if( $current_options['footer_twitter_link']!='') echo $current_options['footer_twitter_link']; else echo "https://twitter.com/"; ?>">&nbsp;</a>
  79.                     <a class="facebook" href="<?php if( $current_options['footer_facebook_link']!='') echo $current_options['footer_facebook_link']; else echo "http://facebook.com/"; ?>">&nbsp;</a>
  80.                     <a class="social_new" href="<?php if( $current_options['footer_linkedin_link']!='') echo $current_options['footer_linkedin_link']; else echo "http://in.linkedin.com/"; ?>">&nbsp;</a>
  81. <a class="googleplus" href="http://googleplus.com/#">&nbsp;</a>
  82.                 </div> 
  83.             </div> 
  84.             <?php } ?>
  85.         </div>
  86.     </div>
  87. </div>
  88. <?php  // use custom css
  89. if( $current_options['busiprof_pro_custom_css']!='')
  90.     {
  91.         echo "<style type='text/css'>/***** Busiprof-pro custom css ******/\n".$current_options['busiprof_pro_custom_css']."</style>";
  92.     }
  93. ?>
  94. <?php wp_footer(); ?>
  95. <!-- /Footer Section -->
  96. </body>
  97. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement