Advertisement
Konark

Untitled

Feb 10th, 2021
547
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.98 KB | None | 0 0
  1. <?php                                                                                                      
  2. /**
  3.  * The template for displaying the footer
  4.  *
  5.  * Contains footer content and the closing of the #main and #page div elements.
  6.  */
  7. ?>
  8.         <?php get_sidebar('footer'); ?>
  9.         <footer id="ht-footer">
  10.             <div class="container">
  11.                 <div class="row">
  12.                     <div class="col-md-4">
  13.                       <a href="https://santerris.de/lightlife/" target="_blank" style="display: block">
  14.                       <?php
  15.                         if(function_exists('fw_get_db_settings_option')):
  16.                          $footerLogo = fw_get_db_settings_option('footer_logo');
  17.                           if($footerLogo != ''):?>
  18.                               <img style="margin-bottom: 0px; height: 80px; width: auto;" src="<?php echo $footerLogo['url']?>"/>
  19.                           <?php endif ?>
  20.                       <?php endif ?>
  21.  
  22.                         <h1 style="color: #ffffff !important; display: inline-block; margin-left: 10px">
  23.                           Lightlife
  24.                         </h1>
  25.                       </a>
  26.                     </div>
  27.                     <div class="col-md-4">
  28.                         <p style="line-height: 70px"><a href="https://santerris.de/" target="_blank">Lightlife ist eine Marke der SanTerris GmbH</a></p>
  29.                     </div>
  30.                     <div class="col-md-4">
  31.                         <?php if(has_nav_menu('footer' )) : ?>
  32.                             <?php
  33.                             /**
  34.                              * Displays a navigation menu in the right of logo
  35.                              * @param array $args Arguments
  36.                              */
  37.                             $args = array(
  38.                                 'theme_location' => 'footer',
  39.                                 'menu' => '',
  40.                                 'container' => false,
  41.                                 'container_class' => '',
  42.                                 'container_id' => '',
  43.                                 'menu_class' => '',
  44.                                 'menu_id' => '',
  45.                                 'echo' => true,
  46.                                 'fallback_cb' => 'wp_page_menu',
  47.                                 'before' => '',
  48.                                 'after' => '',
  49.                                 'link_before' => '',
  50.                                 'link_after' => '',
  51.                                 'items_wrap' => '<ul id = "%1$s" class="footer-nav">%3$s</ul>',
  52.                                 'depth' => 0,
  53.                                 'walker' => ''
  54.                             );
  55.  
  56.                             wp_nav_menu( $args );
  57.                             ?>
  58.                         <?php endif; ?>
  59.                     </div>
  60.                 </div>
  61.             </div>
  62.             <div class="container">
  63.             <?php if(function_exists('fw_get_db_settings_option')) : ?>
  64.                 <p class="copyright"><?php  echo fw_get_db_settings_option('copyright'); ?></p>
  65.             <?php else: ?>
  66.                 <p class="copyright"><?php esc_html_e( 'Culinier Wordpress Theme Power by Wordpress and Haintheme' , 'mauris' ); ?></p>
  67.             <?php endif; ?>
  68.  
  69.             </div>
  70.         </footer>
  71.  
  72.         <!-- Modal -->
  73.         <div class="modal fade" id="ht-search-form" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  74.             <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  75.             <div class="modal-dialog">
  76.                 <div class="modal-content">
  77.                     <div class="modal-body">
  78.                         <form action="<?php echo esc_url(home_url()); ?>" method="get" role="search">
  79.                             <input type="text" name="s" placeholder="<?php echo esc_attr__('Type keyword ...','mauris'); ?>" autofocus />
  80.                             <button class="search-button" type="submit">
  81.                                 <span class="sr-only">Toggle search</span>
  82.                                 <i class="fa fa-search"></i>
  83.                             </button>
  84.                         </form>
  85.                     </div>
  86.                 </div>
  87.             </div>
  88.         </div>
  89.         <div id="myModalLabel"></div>
  90.         <!-- / .hs-footer-widget -->
  91.     </div><!-- .ht-page-wrapper full-layout -->
  92.  
  93.     <?php wp_footer(); ?>
  94.    
  95. </body>
  96. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement