File: /www/wwwroot/aiwellbore.com/wp-content/themes/study-education-pro/footer.php
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package FPhoto Snap Pro
*/
$footer_layout_theme_options = get_theme_mod('footer_layout_theme_options');
$footerlayout = $footer_layout_theme_options;
?>
<div id="footer-wrapper">
<div class="container footer">
<!-- =============================== Column One - 1 =================================== -->
<?php if ($footerlayout == 'onecolumn') { ?>
<div class="cols-1">
<?php if (!dynamic_sidebar('footer-1')) : ?>
<div class="widget-column-1">
<?php
$footer_custom_menu = get_theme_mod('footer_custom_menu');
echo '<h5>' . esc_html($footer_custom_menu) . '</h5>';
wp_nav_menu(array('theme_location' => 'footer', 'container' => '', 'container_class' => '', 'items_wrap' => '<ul>%3$s</ul>'));
?>
</div>
<?php endif; ?>
<div class="clear"></div>
</div>
<?php
} elseif ($footerlayout == 'twocolumn') {
?>
<!-- =============================== Column Two - 2 =================================== -->
<div class="cols-2">
<?php if (!dynamic_sidebar('footer-1')) : ?>
<div class="widget-column-1">
<?php
$footer_about_us_heading = get_theme_mod('footer_about_us_heading');
echo '<h5>' . esc_html($footer_about_us_heading) . '</h5>';
$footer_about_us_desc = get_theme_mod('footer_about_us_desc');
echo esc_html($footer_about_us_desc);
?>
<div class="clear"></div>
</div>
<?php endif; ?>
<?php if (!dynamic_sidebar('footer-2')) : ?>
<div class="widget-column-2">
<?php footer_contact_us(); ?>
</div>
<?php endif; ?>
<div class="clear"></div>
</div><!--end .cols-2-->
<?php
} elseif ($footerlayout == 'threecolumn') {
?>
<!-- =============================== Column Three - 3 =================================== -->
<div class="cols-3">
<?php if (!dynamic_sidebar('footer-1')) : ?>
<div class="widget-column-1">
<?php
$footer_about_us_heading = get_theme_mod('footer_about_us_heading');
echo '<h5>' . esc_html($footer_about_us_heading) . '</h5>';
$footer_about_us_desc = get_theme_mod('footer_about_us_desc');
echo esc_html($footer_about_us_desc);
?>
<div class="clear"></div>
</div>
<?php endif; ?>
<?php if (!dynamic_sidebar('footer-2')) : ?>
<div class="widget-column-2">
<?php
$footer_recent_post_title = get_theme_mod('footer_recent_post_title');
echo '<h5>' . esc_html($footer_recent_post_title) . '</h5>';
echo do_shortcode('[footer-posts show="2"]');
?>
</div>
<?php endif; ?>
<?php if (!dynamic_sidebar('footer-3')) : ?>
<div class="widget-column-3">
<?php footer_contact_us(); ?>
</div>
<?php endif; ?>
<div class="clear"></div>
</div><!--end .cols-3-->
<?php
} elseif ($footerlayout == 'fourcolumn') {
?>
<!-- =============================== Column Fourth - 4 =================================== -->
<div class="cols-4">
<?php if (!dynamic_sidebar('footer-1')) : ?>
<div class="widget-column-1">
<?php
$footer_about_us_heading = get_theme_mod('footer_about_us_heading');
echo '<h5>' . esc_html($footer_about_us_heading) . '</h5>';
$footer_about_us_desc = get_theme_mod('footer_about_us_desc');
echo esc_html($footer_about_us_desc);
?>
<div class="clear"></div>
</div>
<?php endif; ?>
<?php if (!dynamic_sidebar('footer-2')) : ?>
<div class="widget-column-2">
<?php
$footer_custom_menu = get_theme_mod('footer_custom_menu');
echo '<h5>' . esc_html($footer_custom_menu) . '</h5>';
wp_nav_menu(array('theme_location' => 'footer', 'container' => '', 'container_class' => '', 'items_wrap' => '<ul>%3$s</ul>'));
?>
</div>
<?php endif; ?>
<?php if (!dynamic_sidebar('footer-3')) : ?>
<div class="widget-column-3">
<?php
$footer_recent_post_title = get_theme_mod('footer_recent_post_title');
echo '<h5>' . esc_html($footer_recent_post_title) . '</h5>';
echo do_shortcode('[footer-posts show="2"]');
?>
</div>
<?php endif; ?>
<?php if (!dynamic_sidebar('footer-4')) : ?>
<div class="widget-column-4">
<?php footer_contact_us(); ?>
</div>
<?php endif; ?>
<div class="clear"></div>
</div><!--end .cols-4-->
<?php } ?>
<div class="clear"></div>
</div><!--end .container-->
<div class="copyright-wrapper">
<div class="container">
<div class="copyright-txt"><?php
$study_education_pro_design = get_theme_mod('study_education_pro_design');
$study_education_pro_copyright = get_theme_mod('study_education_pro_copyright');
echo do_shortcode($study_education_pro_copyright);
?></div>
<div class="design-by"><?php
echo do_shortcode($study_education_pro_design);
?></div>
</div>
<div class="clear"></div>
</div>
</div>
<?php
$footer_back_to_top_button = get_theme_mod('footer_back_to_top_button');
echo do_shortcode($footer_back_to_top_button);
?>
<?php wp_footer(); ?>
</body>
</html>