File: //home/madepabj/gamepointpk.com/wp-content/themes/groovy/amp/partials/footer.php
<?php
$epcl_theme = epcl_get_theme_options();
if(function_exists('icl_get_home_url')) $home = icl_get_home_url();
else $home = home_url('/');
$footer_class = '';
if( epcl_get_option('enable_mobile_footer_sidebar') == false ){
$footer_class = 'no-sidebar';
}
if( epcl_get_option('enable_mobile_footer_sidebar') == true && epcl_get_option('mobile_footer_sidebar') ){
$footer_class = 'hide-default';
}
?>
<!-- start: #footer -->
<footer id="footer" class="<?php echo esc_attr($footer_class); ?>">
<?php if( epcl_get_option('enable_amp_footer_widgets', true) ): ?>
<?php if( is_active_sidebar('epcl_sidebar_footer') || is_active_sidebar( epcl_get_option('mobile_footer_sidebar') ) ): ?>
<div class="widgets grid-container grid-large">
<div class="default-sidebar epcl-row hide-on-mobile"><?php dynamic_sidebar('epcl_sidebar_footer'); ?></div>
<div class="clear"></div>
<?php if( epcl_get_option('enable_mobile_footer_sidebar') == true && epcl_get_option('mobile_footer_sidebar') ): ?>
<div class="mobile-sidebar epcl-row hide-on-desktop"><?php dynamic_sidebar( epcl_get_option('mobile_footer_sidebar') ); ?></div>
<?php endif; ?>
<div class="clear"></div>
</div>
<?php endif; ?>
<?php endif; ?>
<?php if( epcl_get_option('footer_enable_subscribe') ): ?>
<div class="grid-container grid-large">
<?php get_template_part('partials/subscribe-form'); ?>
</div>
<?php endif; ?>
<?php if( epcl_get_option('copyright_text') ): ?>
<div class="published underline-effect">
<?php echo wp_kses_post( do_shortcode($epcl_theme['copyright_text']) ); ?>
</div>
<?php endif; ?>
<?php if( epcl_get_option('copyright_theme_author', true) && function_exists('epcl_render_theme_author') ): ?>
<?php
$class = '';
if( !epcl_get_option('copyright_text') ) $class = 'no-margin-top';
?>
<?php echo epcl_render_theme_author( $class ); ?>
<?php endif; ?>
<?php if( empty($epcl_theme) || $epcl_theme['enable_back_to_top'] == '1' ): ?>
<a id="back-to-top" class="epcl-button dark" on="tap:wrapper.scrollTo(duration=600)"><i class="fa fa-angle-up"></i></a>
<?php endif; ?>
<div class="clear"></div>
</footer>
<!-- end: #footer -->