Your IP : 216.73.216.63


Current Path : /var/www/ya/wp-content/themes/youthy/
Upload File :
Current File : /var/www/ya/wp-content/themes/youthy/footer.php

</section>
<?php

      // Get sidebar
      get_sidebar();

    ?>



<?php if ( is_active_sidebar('footer-widgets') ) {

  // Count sidebars
  $the_sidebars = wp_get_sidebars_widgets();

  ?>
  <div class="footer-widgets widget-count-<?php echo count( $the_sidebars['footer-widgets'] ); ?>">
    <div class="max-wrap">
      <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Widget Area')) { } ?>
    </div>
  </div>
<?php } ?>

<footer class="main-footer<?php if ( is_active_sidebar('social-widgets') ) { echo " socials-active"; } ?>">
  <div class="footer-wrap max-wrap">
    <?php

     // Check theme options for footer motivation and show it

     if( get_theme_mod( 'hide_footer_motivation' ) !== '1' ) { ?>
      <div class="footer-motivation">
        <?php if( !get_theme_mod( 'content_footer_motivation' ) ) { ?>
          Don't forget to add some motivation text, in the Theme Customizer &gt; Footer Settings.
        <?php } ?>
        <?php echo balanceTags( get_theme_mod( 'content_footer_motivation' ) ); ?>
      </div>
    <?php } ?>
    <?php

    // Check theme options for copyright back to top, contact tel or contact email, if any of them show wrap a div
    if( get_theme_mod( 'hide_backtotop' ) !== '1' || get_theme_mod( 'hide_footer_copyright' ) !== '1' || get_theme_mod( 'content_contact_tel' ) || get_theme_mod( 'content_contact_email' ) ||  !function_exists('dynamic_sidebar') || !dynamic_sidebar('social-widgets') ) { ?>
      <div class="footer-details">
    <?php } ?>
    <?php

    // Check theme options for footer copyright and show it
     if( get_theme_mod( 'hide_footer_copyright' ) !== '1' ) { ?>
      <div class="footer-copyright"><?php echo balanceTags( get_theme_mod( 'footer_tagline' , '&copy; 2015 Youthy. Built by <a href="http://www.meanthemes.com" target="_blank">MeanThemes</a>' ) ); ?></div>
    <?php } ?>
    <?php

     // Check theme options for contact information and show it

     if( get_theme_mod( 'hide_footer_contact' ) !== '1' ) { ?>
      <div class="footer-contact">

            <?php if( !get_theme_mod( 'content_contact_tel' ) && !get_theme_mod( 'content_contact_email' )  ) { ?>
              Don't forget to add your contact information via Customize &gt; Header Settings
            <?php } ?>

            <?php if( get_theme_mod( 'content_contact_tel' ) ) { ?>

              <span class="contact-tel">
                <i class="fa fa-phone"></i> <?php echo esc_html( get_theme_mod( 'content_contact_tel' ) ); ?>
              </span>

            <?php } ?>

            <?php if( get_theme_mod( 'content_contact_email' ) ) { ?>

              <span class="contact-email">
                <i class="fa fa-envelope"></i> <a href="mailto:<?php echo esc_html( get_theme_mod( 'content_contact_email' ) ); ?>"><?php echo esc_html( get_theme_mod( 'content_contact_email' ) ); ?></a>
              </span>

            <?php } ?>

          </div>
    <?php } ?>


    <?php if( get_theme_mod( 'hide_backtotop' ) !== '1' ) { ?>
      <a href="#top" id="btt"><?php esc_html( _e( 'Top' , 'meanthemes' ) ); ?> <i class="fa fa-chevron-up"></i></a>
    <?php } ?>

    <?php
      // Just meant for the MeanThemes Social Widget
      if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('social-widgets')) {  } ?>

    <?php

    // Check theme options for copyright back to top, contact tel or contact email, if any of them show wrap a div
    if( get_theme_mod( 'hide_backtotop' ) !== '1' || get_theme_mod( 'hide_footer_copyright' ) !== '1' || get_theme_mod( 'content_contact_tel' ) || get_theme_mod( 'content_contact_email' ) ||  !function_exists('dynamic_sidebar') || !dynamic_sidebar('social-widgets') ) { ?>
    </div>
    <?php } ?>



  </div>
  <?php if( get_theme_mod( 'hide_footer_menu' ) !== '1' ) { ?>
  <nav id="footer-nav">
    <?php wp_nav_menu( array( 'theme_location' => 'footer', 'container' => false, 'menu_id' => false, 'menu_class' => false ) ); ?>
  </nav>
  <?php } ?>

</footer>

  </div><!-- /content-wrap -->
</div><!-- /wrap -->

<?php
// Check if WP Instagram Widget exists
if ( ! function_exists( 'is_plugin_active' ) ) {
   require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
}
if ( is_plugin_active( 'wp-instagram-widget/wp-instagram-widget.php' ) ) {
  if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('instagram-widget')) {  }
}
?>

<?php if ( is_singular() ) wp_print_scripts( 'comment-reply' ); ?>
<?php wp_footer(); ?>
</body>
</html>