Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/renascerdoestoril.com/wp-content/themes/soccer-football/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/renascerdoestoril.com/wp-content/themes/soccer-football/footer.php
<?php
/**
 * The template for displaying the footer
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Soccer Football
 */
?>

<footer id="colophon" class="site-footer border-top">
  <div class="footer-widgets">
    <div class="container">
      <div class="footer-column">
        <?php
          $count = 0;
          
          if ( is_active_sidebar( 'football-sports-club-footer1' ) ) {
              $count++;
          }
          if ( is_active_sidebar( 'football-sports-club-footer2' ) ) {
              $count++;
          }
          if ( is_active_sidebar( 'football-sports-club-footer3' ) ) {
              $count++;
          }
          // $count == 0 none
          if ( $count == 1 ) {
              $colmd = 'col-md-12 col-sm-12';
          } elseif ( $count == 2 ) {
              $colmd = 'col-md-6 col-sm-6';
          } else {
              $colmd = 'col-md-4 col-sm-4';
          }
        ?>
        <div class="row">
          <div class="<?php if ( !is_active_sidebar( 'football-sports-club-footer1' ) ){ echo "footer_hide"; }else{ echo "$colmd"; } ?> col-xs-12 footer-block">
            <?php dynamic_sidebar('football-sports-club-footer1'); ?>
          </div>
          <div class="<?php if ( is_active_sidebar( 'football-sports-club-footer2' ) ){ echo "$colmd"; }else{ echo "footer_hide"; } ?> col-xs-12 footer-block">
              <?php dynamic_sidebar('football-sports-club-footer2'); ?>
          </div>
          <div class="<?php if ( is_active_sidebar( 'football-sports-club-footer3' ) ){ echo "$colmd"; }else{ echo "footer_hide"; } ?> col-xs-12 col-xs-12 footer-block">
              <?php dynamic_sidebar('football-sports-club-footer3'); ?>
          </div>
        </div>
      </div>
    </div>
  </div>
  <?php if (get_theme_mod('football_sports_club_show_hide_copyright', true)) {?>
    <div class="footer_info">
      <div class="container">
        <div class="row">
    		  <div class="col-lg-5 col-md-5 col-12 align-self-lg-center">
  		      <?php if ( has_nav_menu( 'footer' ) ): ?>
              <nav class="navbar footer-menu">
      					<?php
      						wp_nav_menu( array(
      							'theme_location' => 'footer',
      							'container'      => 'div',
      							'container_id'   => 'main-nav',
      							'menu_id'        => false,
      							'depth'          => 1,
      						) );
      					?>
              </nav>
  		      <?php endif ?>
  		    </div>
          <div class="site-info col-lg-7 col-md-7 col-12">
            <div class="footer-menu-left">
              <?php if(! get_theme_mod('football_sports_club_footer_text_setting') != ''){ ?>
                <a href="<?php echo esc_url( 'https://wordpress.org/' ); ?>">
                  <?php
                   /* translators: %s: CMS name, i.e. WordPress. */
                   printf( esc_html__( 'Proudly powered by %s', 'soccer-football' ), 'WordPress' );
                  ?>
                </a>
                <span class="sep me-1"> | </span>
                <span>
                  <a target="_blank" href="<?php echo esc_url('https://www.themagnifico.net/products/free-soccer-wordpress-theme'); ?>">
                    <?php
                     /* translators: 1: Theme name,  */
                     printf( esc_html__( ' %1$s ', 'soccer-football' ),'Soccer WordPress Theme' );
                    ?>
                  </a>
                  <?php
                   /* translators: 1: Theme author. */
                   printf( esc_html__( 'by %1$s.', 'soccer-football' ),'TheMagnifico'  );
                  ?>
                </span>
              <?php }?>
              <?php echo esc_html(get_theme_mod('football_sports_club_footer_text_setting','')); ?>
            </div>
          </div>
        </div>
      </div>
    </div>
  <?php }?>
  <?php if(get_theme_mod('football_sports_club_scroll_hide','')){ ?>
    <a id="button"><?php esc_html_e('TOP','soccer-football'); ?></a>
  <?php }?>
</footer>
</div>

<?php wp_footer(); ?>

</body>
</html>

ZeroDay Forums Mini