File: /var/www/html/acharya-rajnikant-backup/wp-content/themes/aacharyarajnikant/footer.php
<footer class="footer">
<div class="footer__top padding--top padding--bottom">
<div class="container">
<div class="row g-4">
<div class="col-xl-3 col-sm-6 col-12">
<?php if (is_active_sidebar('footer-1')) : ?>
<?php dynamic_sidebar('footer-1'); ?>
<?php else : ?>
<div class="footer__about">
<div class="section__header">
<h2>About Peace</h2>
</div>
<div class="section__wrapper">
<div class="footer__about-thumb">
<img src="<?php echo get_template_directory_uri(); ?>/assets/images/footer/about/01.jpg" alt="footer thumb" class="w-100">
</div>
<div class="footer__about-contet">
<p>Dramatically strategize economically sound action items for e-business niches.
Quickly re-engineer 24/365 potentialities before.</p>
</div>
</div>
</div>
<?php endif; ?>
</div>
<div class="col-xl-3 col-sm-6 col-12">
<?php if (is_active_sidebar('footer-2')) : ?>
<?php dynamic_sidebar('footer-2'); ?>
<?php else : ?>
<div class="footer__tags">
<div class="section__header">
<h2>Post Tag</h2>
</div>
<div class="section__wrapper">
<ul>
<li><a href="<?php echo home_url('/events'); ?>">Events</a></li>
<li><a href="<?php echo home_url('/gallery'); ?>">Gallery</a></li>
<li><a href="<?php echo home_url('/sermons'); ?>">Sermon</a></li>
<li><a href="<?php echo home_url('/blog'); ?>">Blogs</a></li>
<li><a href="#">Media</a></li>
</ul>
</div>
</div>
<?php endif; ?>
</div>
<div class="col-xl-3 col-sm-6 col-12">
<?php if (is_active_sidebar('footer-3')) : ?>
<?php dynamic_sidebar('footer-3'); ?>
<?php else : ?>
<div class="footer__post">
<div class="section__header">
<h2>Recent Post</h2>
</div>
<div class="section__wrapper">
<?php
$recent_posts = new WP_Query(array(
'posts_per_page' => 3,
'post_status' => 'publish'
));
if ($recent_posts->have_posts()) :
while ($recent_posts->have_posts()) : $recent_posts->the_post();
?>
<div class="footer__post-item">
<div class="footer__post-inner">
<?php if (has_post_thumbnail()) : ?>
<div class="footer__post-thumb">
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(array(80, 80)); ?></a>
</div>
<?php endif; ?>
<div class="footer__post-content">
<a href="<?php the_permalink(); ?>">
<h6><?php the_title(); ?></h6>
</a>
<p><i class="far fa-calendar-alt"></i> <?php echo get_the_date(); ?></p>
</div>
</div>
</div>
<?php
endwhile;
wp_reset_postdata();
endif;
?>
</div>
</div>
<?php endif; ?>
</div>
<div class="col-xl-3 col-sm-6 col-12">
<?php if (is_active_sidebar('footer-4')) : ?>
<?php dynamic_sidebar('footer-4'); ?>
<?php else : ?>
<div class="footer__links">
<div class="section__header">
<h2>Useful Links</h2>
</div>
<div class="section__wrapper">
<ul>
<li><a href="#">Log in</a></li>
<li><a href="#">Entries <abbr title="RSS">RSS</abbr></a></li>
<li><a href="#">Comments <abbr title="RSS">RSS</abbr></a></li>
<li><a href="#">WordPress.org</a></li>
<li><a href="#">Google</a></li>
<li><a href="#">Template</a></li>
</ul>
</div>
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
<div class="footer__bottom">
<div class="container">
<div class="footer__bottom-area text-center">
<div class="footer__bottom-logo">
<?php if (has_custom_logo()) : ?>
<?php the_custom_logo(); ?>
<?php else : ?>
<a href="<?php echo home_url('/'); ?>"><img style="width: 200px; height: 100px;" src="<?php echo get_template_directory_uri(); ?>/assets/images/logo/logo-1.svg" alt="logo"></a>
<?php endif; ?>
</div>
<div class="footer__bottom-content">
<?php
$copyright = get_theme_mod('footer_copyright', 'Copyright © {year} Peace | Designed by XYZ');
$copyright = str_replace('{year}', date('Y'), $copyright);
?>
<p><?php echo wp_kses_post($copyright); ?></p>
</div>
</div>
</div>
</div>
</footer>
<?php wp_footer(); ?>
</body>
</html>
<!-- ================> Footer section end here <================== -->
<!-- scrollToTop start here -->
<a href="#" class="scrollToTop"><i class="fas fa-arrow-up"></i><span class="pluse_1"></span><span
class="pluse_2"></span></a>
<!-- scrollToTop ending here -->
<?php wp_footer(); ?>
</body>
<!-- Mirrored from demos.codexcoder.com/themeforest/html/peace/peace/index-3.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 22 Dec 2025 07:18:59 GMT -->
</html>