HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux sanjaymanandhar.com 6.8.0-78-generic #78-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 12 11:34:18 UTC 2025 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/themes/glint/search.php
<?php

/**
 * The template for displaying search results pages
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result
 *
 * @package WordPress
 * @subpackage Glint
 * @since 1.0.0
 */

get_header();

$glint_func          = glint_function('Functions');
$glint_search_page_layout = glint_function('Functions')->page_layout();

?>

<!--:::::WELCOME ATRA START :::::::-->
<div class="welcome-area-wrap blog-breadcrumb-bg">
    <!--::::: WELCOME CAROUSEL START :::::::-->
    <div class="welcome-area inner">
        <div class="container">
            <div class="row">
                <div class="col-lg-6">
                    <div class="inner-wlc">
                        <h2><?php printf(esc_html__('Search Results for: %s', 'glint'), '<span>' . get_search_query() . '</span>'); ?></h2>
                        <h3><?php if (function_exists('bcn_display')) bcn_display(); ?></h3>
                    </div>
                </div>
                <div class="col-lg-6 text-center">
                    <div class="inner-filltext">
                        <h1><?php esc_html_e('Search', 'glint'); ?></h1>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--::::: WELCOME CAROUSEL END:::::::-->
</div>
<!--:::::WELCOME AREA END :::::::-->


<div id="primary" class="content-area glint-page-containerr glint-blog-page blog-page-area inner-bg-shpes section-padding">
    <main id="main" class="site-main">
        <div class="blog-area">
            <div class="container">
                <div class="row">
                    <div class="<?php echo esc_attr($glint_search_page_layout['content_column_class']); ?>">
                        <div class="blog-inner blog-page-left mr-lg-4">
                            <?php
                            if (have_posts()) :
                                /* Start the Loop */
                                while (have_posts()) :
                                    the_post();
                                    /*
                                       * Include the Post-Type-specific template for the content.
                                       * If you want to override this in a child theme, then include a file
                                       * called content-___.php (where ___ is the Post Type name) and that will be used instead.
                                      */
                                    get_template_part('template-parts/content', get_post_format());
                                endwhile;
                            ?>
                                <div class="glint-pagination text-center">
                                    <?php
                                    the_posts_pagination(array(
                                        'next_text' => '<i class="fa fa-long-arrow-right"></i>',
                                        'prev_text' => '<i class="fa fa-long-arrow-left"></i>',
                                        'screen_reader_text' => ' ',
                                        'type' => 'list'
                                    ));
                                    ?>
                                </div>
                            <?php else :
                                get_template_part('template-parts/content', 'none');
                            endif; ?>
                        </div>
                    </div>
                    <?php if ('default' != $glint_search_page_layout['glint_sidebar_activity']) : ?>
                        <div class="col-lg-4 <?php echo esc_attr($glint_search_page_layout['sidebar_column_class']); ?>">
                            <?php get_sidebar(); ?>
                        </div>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </main><!-- #main -->
</div><!-- #primary -->

<?php
get_footer();