Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The template for displaying the footer.
- *
- * Contains the closing of the id=main div and all content after
- *
- * @package GeneratePress
- */
- ?>
- </div><!-- #content -->
- </div><!-- #page -->
- <?php do_action('generate_before_footer'); ?>
- <div <?php generate_footer_class(); ?>>
- <?php
- do_action('generate_before_footer_content');
- // Get how many widgets to show
- $widgets = generate_get_footer_widgets();
- if ( !empty( $widgets ) && 0 !== $widgets ) :
- // Set up the widget width
- $widget_width = '';
- if ( $widgets == 1 ) $widget_width = '100';
- if ( $widgets == 2 ) $widget_width = '50';
- if ( $widgets == 3 ) $widget_width = '33';
- if ( $widgets == 4 ) $widget_width = '25';
- if ( $widgets == 5 ) $widget_width = '20';
- ?>
- <div id="footer-widgets" class="site footer-widgets">
- <div class="inside-footer-widgets grid-container grid-parent">
- <?php if ( $widgets >= 1 ) : ?>
- <div class="footer-widget-1 grid-parent grid-<?php echo apply_filters( 'generate_footer_widget_1_width', $widget_width ); ?> tablet-grid-<?php echo apply_filters( 'generate_footer_widget_1_tablet_width', '50' ); ?>">
- <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('footer-1')): ?>
- <aside class="widget inner-padding widget_text">
- <h4 class="widget-title"><?php _e('Footer Widget 1','generate');?></h4>
- <div class="textwidget">
- <p><?php printf( __( 'Replace this widget content by going to <a href="%1$s"><strong>Appearance / Widgets</strong></a> and dragging widgets into Footer Area 1.','generate' ), admin_url( 'widgets.php' ) ); ?></p>
- <p><?php printf( __( 'To remove or choose the number of footer widgets, go to <a href="%1$s"><strong>Appearance / Customize / Layout / Footer Widgets</strong></a>.','generate' ), admin_url( 'customize.php' ) ); ?></p>
- </div>
- </aside>
- <?php endif; ?>
- </div>
- <?php endif;
- if ( $widgets >= 2 ) : ?>
- <div class="footer-widget-2 grid-parent grid-<?php echo apply_filters( 'generate_footer_widget_2_width', $widget_width ); ?> tablet-grid-<?php echo apply_filters( 'generate_footer_widget_2_tablet_width', '50' ); ?>">
- <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('footer-2')): ?>
- <aside class="widget inner-padding widget_text">
- <h4 class="widget-title"><?php _e('Footer Widget 2','generate');?></h4>
- <div class="textwidget">
- <p><?php printf( __( 'Replace this widget content by going to <a href="%1$s"><strong>Appearance / Widgets</strong></a> and dragging widgets into Footer Area 2.','generate' ), admin_url( 'widgets.php' ) ); ?></p>
- <p><?php printf( __( 'To remove or choose the number of footer widgets, go to <a href="%1$s"><strong>Appearance / Customize / Layout / Footer Widgets</strong></a>.','generate' ), admin_url( 'customize.php' ) ); ?></p>
- </div>
- </aside>
- <?php endif; ?>
- </div>
- <?php endif;
- if ( $widgets >= 3 ) : ?>
- <div class="footer-widget-3 grid-parent grid-<?php echo apply_filters( 'generate_footer_widget_3_width', $widget_width ); ?> tablet-grid-<?php echo apply_filters( 'generate_footer_widget_3_tablet_width', '50' ); ?>">
- <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('footer-3')): ?>
- <aside class="widget inner-padding widget_text">
- <h4 class="widget-title"><?php _e('Footer Widget 3','generate');?></h4>
- <div class="textwidget">
- <p><?php printf( __( 'Replace this widget content by going to <a href="%1$s"><strong>Appearance / Widgets</strong></a> and dragging widgets into Footer Area 3.','generate' ), admin_url( 'widgets.php' ) ); ?></p>
- <p><?php printf( __( 'To remove or choose the number of footer widgets, go to <a href="%1$s"><strong>Appearance / Customize / Layout / Footer Widgets</strong></a>.','generate' ), admin_url( 'customize.php' ) ); ?></p>
- </div>
- </aside>
- <?php endif; ?>
- </div>
- <?php endif;
- if ( $widgets >= 4 ) : ?>
- <div class="footer-widget-4 grid-parent grid-<?php echo apply_filters( 'generate_footer_widget_4_width', $widget_width ); ?> tablet-grid-<?php echo apply_filters( 'generate_footer_widget_4_tablet_width', '50' ); ?>">
- <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('footer-4')): ?>
- <aside class="widget inner-padding widget_text">
- <h4 class="widget-title"><?php _e('Footer Widget 4','generate');?></h4>
- <div class="textwidget">
- <p><?php printf( __( 'Replace this widget content by going to <a href="%1$s"><strong>Appearance / Widgets</strong></a> and dragging widgets into Footer Area 4.','generate' ), admin_url( 'widgets.php' ) ); ?></p>
- <p><?php printf( __( 'To remove or choose the number of footer widgets, go to <a href="%1$s"><strong>Appearance / Customize / Layout / Footer Widgets</strong></a>.','generate' ), admin_url( 'customize.php' ) ); ?></p>
- </div>
- </aside>
- <?php endif; ?>
- </div>
- <?php endif;
- if ( $widgets >= 5 ) : ?>
- <div class="footer-widget-5 grid-parent grid-<?php echo apply_filters( 'generate_footer_widget_5_width', $widget_width ); ?> tablet-grid-<?php echo apply_filters( 'generate_footer_widget_5_tablet_width', '50' ); ?>">
- <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('footer-5')): ?>
- <aside class="widget inner-padding widget_text">
- <h4 class="widget-title"><?php _e('Footer Widget 5','generate');?></h4>
- <div class="textwidget">
- <p><?php printf( __( 'Replace this widget content by going to <a href="%1$s"><strong>Appearance / Widgets</strong></a> and dragging widgets into Footer Area 5.','generate' ), admin_url( 'widgets.php' ) ); ?></p>
- <p><?php printf( __( 'To remove or choose the number of footer widgets, go to <a href="%1$s"><strong>Appearance / Customize / Layout / Footer Widgets</strong></a>.','generate' ), admin_url( 'customize.php' ) ); ?></p>
- </div>
- </aside>
- <?php endif; ?>
- </div>
- <?php endif; ?>
- </div>
- </div>
- <?php
- endif;
- do_action('generate_after_footer_widgets');
- ?>
- <!-- Footer Menu Start -->
- <nav class="tertiary-navigation grid-container grid-parent" role="navigation" id="tertiary-navigation" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement">
- <div class="inside-navigation grid-container grid-parent">
- <button class="menu-toggle tertiary-menu-toggle">
- <span class="mobile-menu">Menu</span>
- </button>
- <div class="main-nav"><ul class="tertiary-menu sf-menu nav-menu sf-js-enabled" id="menu-xpressnetisp-footer-menu" aria-expanded="false"><li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-328" id="menu-item-328" aria-haspopup="true"><a href="http://xpressnet.inthelink.ca/index.php/about-us/" title="About Us" class="sf-with-ul"><i class="fa fa-info fa-fw fa-border"></i> About Us</a><a aria-expanded="false" class="dropdown-toggle" href="#"><i class="fa fa-caret-down"></i></a>
- <ul class="sub-menu" style="display: none;">
- <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-330" id="menu-item-330" aria-haspopup="true"><a href="http://#" class="sf-with-ul">Placeholder 01</a><a aria-expanded="false" class="dropdown-toggle" href="#"><i class="fa fa-caret-down"></i></a>
- <ul class="sub-menu" style="display: none;">
- <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-331" id="menu-item-331" aria-haspopup="true"><a href="http://#" class="sf-with-ul">Placeholder 02</a><a aria-expanded="false" class="dropdown-toggle" href="#"><i class="fa fa-caret-down"></i></a>
- <ul class="sub-menu" style="display: none;">
- <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-332" id="menu-item-332"><a href="http://#">Placeholder 03</a></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-64" id="menu-item-64"><a href="http://xpressnet.inthelink.ca/index.php/privacy-policy/">Privacy Policy</a></li>
- <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-128" id="menu-item-128"><a href="http://xpressnet.inthelink.ca/index.php/terms-of-service/">Terms of Service</a></li>
- <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-76" id="menu-item-76"><a href="http://xpressnet.inthelink.ca/index.php/shipping/">Shipping</a></li>
- <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-65" id="menu-item-65"><a href="http://xpressnet.inthelink.ca/index.php/sitemap/">Sitemap</a></li>
- </ul></div> </div><!-- .inside-navigation -->
- </nav>
- <!-- Footer Menu End -->
- <footer class="site-info" itemtype="http://schema.org/WPFooter" itemscope="itemscope" role="contentinfo">
- <div class="inside-site-info grid-container grid-parent">
- <?php do_action( 'generate_credits' ); ?>
- </div>
- </footer><!-- .site-info -->
- <?php do_action( 'generate_after_footer_content' ); ?>
- </div><!-- .site-footer -->
- <?php wp_footer(); ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement