Warning: file_put_contents(/home/khabarnavis/web/khabarnavis.com/public_html/index.php): Failed to open stream: Permission denied in /home/khabarnavis/web/khabarnavis.com/public_html/wp-includes/rest-api.php on line 1873
HEX
HEX
Server: Apache/2.4.66 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2
System: Linux panel.ynpdigital.com 5.15.0-176-generic #186-Ubuntu SMP Fri Mar 13 11:01:42 UTC 2026 x86_64
User: khabarnavis (1004)
PHP: 8.3.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen
Upload Files
File: /home/khabarnavis/web/khabarnavis.com/public_html/wp-content/themes/khabarnavis/footer.php
</div><!-- #content .site-content-wrapper -->

<!-- Footer -->
<footer id="colophon" class="site-footer">
    <div class="container">
        <div class="footer-grid">

            <!-- Brand Column -->
            <div class="footer-brand">
                <div class="footer-logo">
                    <?php echo esc_html(get_bloginfo('name')); ?>
                </div>
                <p class="footer-tagline">
                    <?php echo esc_html(get_bloginfo('description') ?: __('Your trusted source for news and analysis.', 'khabarnavis')); ?>
                </p>
                <div class="footer-social" aria-label="<?php esc_attr_e('Social Links', 'khabarnavis'); ?>">
                    <a href="#" class="social-icon" aria-label="Facebook">
                        <svg viewBox="0 0 24 24"><path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"/></svg>
                    </a>
                    <a href="#" class="social-icon" aria-label="Twitter/X">
                        <svg viewBox="0 0 24 24"><path d="M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z"/></svg>
                    </a>
                    <a href="#" class="social-icon" aria-label="YouTube">
                        <svg viewBox="0 0 24 24"><path d="M22.54 6.42a2.78 2.78 0 0 0-1.95-1.97C18.88 4 12 4 12 4s-6.88 0-8.59.46A2.78 2.78 0 0 0 1.46 6.42 29 29 0 0 0 1 12a29 29 0 0 0 .46 5.58 2.78 2.78 0 0 0 1.95 1.97C5.12 20 12 20 12 20s6.88 0 8.59-.45a2.78 2.78 0 0 0 1.95-1.97A29 29 0 0 0 23 12a29 29 0 0 0-.46-5.58z"/><polygon points="9.75 15.02 15.5 12 9.75 8.98 9.75 15.02"/></svg>
                    </a>
                    <?php
                    $rss_url = get_feed_link();
                    ?>
                    <a href="<?php echo esc_url($rss_url); ?>" class="social-icon" aria-label="RSS Feed">
                        <svg viewBox="0 0 24 24"><path d="M4 11a9 9 0 0 1 9 9"/><path d="M4 4a16 16 0 0 1 16 16"/><circle cx="5" cy="19" r="1"/></svg>
                    </a>
                </div>
            </div>

            <!-- Navigation Column -->
            <div class="footer-col">
                <h4><?php esc_html_e('Navigation', 'khabarnavis'); ?></h4>
                <?php
                wp_nav_menu([
                    'theme_location' => 'primary',
                    'container'      => false,
                    'menu_class'     => '',
                    'depth'          => 1,
                    'fallback_cb'    => false,
                ]);
                ?>
            </div>

            <!-- Footer Col 1 -->
            <div class="footer-col">
                <?php if (is_active_sidebar('footer-col-1')) : ?>
                    <?php dynamic_sidebar('footer-col-1'); ?>
                <?php else : ?>
                    <h4><?php esc_html_e('Quick Links', 'khabarnavis'); ?></h4>
                    <ul>
                        <li><a href="<?php echo esc_url(get_page_link(get_page_by_path('about'))); ?>"><?php esc_html_e('About Us', 'khabarnavis'); ?></a></li>
                        <li><a href="<?php echo esc_url(get_page_link(get_page_by_path('contact'))); ?>"><?php esc_html_e('Contact', 'khabarnavis'); ?></a></li>
                        <li><a href="<?php echo esc_url(get_page_link(get_page_by_path('privacy-policy'))); ?>"><?php esc_html_e('Privacy Policy', 'khabarnavis'); ?></a></li>
                        <li><a href="<?php echo esc_url(home_url('/advertise')); ?>"><?php esc_html_e('Advertise', 'khabarnavis'); ?></a></li>
                    </ul>
                <?php endif; ?>
            </div>

            <!-- Footer Col 2 - Categories -->
            <div class="footer-col">
                <h4><?php esc_html_e('Categories', 'khabarnavis'); ?></h4>
                <ul>
                    <?php
                    $cats = get_categories(['number' => 6, 'hide_empty' => true]);
                    foreach ($cats as $cat) : ?>
                        <li><a href="<?php echo esc_url(get_category_link($cat->term_id)); ?>"><?php echo esc_html($cat->name); ?></a></li>
                    <?php endforeach; ?>
                </ul>
            </div>

        </div><!-- .footer-grid -->

        <div class="footer-bottom">
            <p>&copy; <?php echo esc_html(date('Y')); ?> <?php bloginfo('name'); ?>. <?php esc_html_e('All Rights Reserved.', 'khabarnavis'); ?></p>
            <div class="footer-bottom-links">
                <a href="<?php echo esc_url(get_privacy_policy_url()); ?>"><?php esc_html_e('Privacy Policy', 'khabarnavis'); ?></a>
                <a href="<?php echo esc_url(home_url('/terms-of-service')); ?>"><?php esc_html_e('Terms', 'khabarnavis'); ?></a>
                <a href="<?php echo esc_url(get_feed_link()); ?>">RSS</a>
            </div>
        </div>

    </div><!-- .container -->
</footer><!-- #colophon -->

</div><!-- #page -->

<?php wp_footer(); ?>
</body>
</html>