Skip to content

Commit

Permalink
Coding standards in footer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldomatias committed Sep 24, 2017
1 parent 22d87fb commit 29ba0c6
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,34 @@
*/
?>
<footer id="colophon" class="site-footer" role="contentinfo">
<?php $coletivo_btt_disable = get_theme_mod('coletivo_btt_disable'); ?>
<?php $coletivo_btt_disable = get_theme_mod( 'coletivo_btt_disable' ); ?>
<div class="site-info">
<div class="container">
<?php if ($coletivo_btt_disable != '1') : ?>
<?php if ( $coletivo_btt_disable != '1' ) : ?>
<div class="btt">
<a class="back-top-top" href="#page" title="<?php echo esc_html__('Back To Top', 'coletivo') ?>"><i class="fa fa-angle-double-up wow flash" data-wow-duration="2s"></i></a>
</div>
</div><!-- btt -->
<?php endif; ?>

<?php
/**
* hooked coletivo_footer_site_info
* @see coletivo_footer_site_info
*/
do_action('coletivo_footer_site_info');
/**
* Hooked: coletivo_footer_site_info
*
* @see coletivo_footer_site_info
*/
do_action( 'coletivo_footer_site_info' );
?>
</div>
</div>
<!-- .site-info -->
</div><!-- container -->
</div><!-- .site-info -->
</footer><!-- #colophon -->
<?php
/**
* Hooked: coletivo_site_footer
*
* @see coletivo_site_footer
*/
do_action( 'coletivo_site_end' );
?>
<?php
/**
* Hooked: coletivo_site_footer
*
* @see coletivo_site_footer
*/
do_action( 'coletivo_site_end' );
?>
</div><!-- #page -->

<?php wp_footer(); ?>
Expand Down

0 comments on commit 29ba0c6

Please sign in to comment.