File: /home/reachcon/public_html/wp-content/themes/reach-connects/footer.php
<?php
/* This commented code will allows you to assign code to specific pages if needed.
if ( is_front_page() && is_home() ) {
// Default homepage
} elseif ( is_front_page()){
//Static homepage
} elseif ( is_home()){
//Blog page
} else {
//everything else
}
*/
global $omadaLayout;
// IF YOU DO NOT WISH TO USE THE FOOTER BUILDER SIMPLY REMOVE THE FOLLOWING CODE AND BUILD YOUR FOOTERS.
if(!$omadaLayout->hideFooter){
$pid = $post->post_ID;
$selected = get_field('omada_footer_selection',$pid);
$tempId = ($selected!='') ? $selected : get_field('omada_default_footer','option');
$id = ($omadaLayout->footerID) ? $omadaLayout->footerID : $tempId; // Check Override
if($id!=''){
echo '<footer id="footer">'.apply_filters('the_content', get_post_field('post_content', $id)).'</footer>'."\n";
}
}
?>
<div id="scrollToTop"><i class="fa fa-chevron-circle-up fa-3x"></i></div>
<?php
$omadaLayout->omadaFooter();
wp_footer();
?>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-7T1NC7ZN48"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-7T1NC7ZN48');
</script>
</body>
</html>