HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vmi1674223.contaboserver.net 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: root (0)
PHP: 7.4.3-4ubuntu2.22
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_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/Application/wp-content/themes/zoomy/search.php
<?php
/**
 * The main template file
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package zoomy
 */
get_header();
$opt                  = get_option( 'zoomy_opt' );
$is_sticky_header     = ! empty( $opt['is_sticky_header'] ) ? $opt['is_sticky_header'] : '';
$is_sticky_class      = $is_sticky_header == '1' ? 'mt-98' : '';
?>
<section class="blog-area no-results not-found <?php echo esc_attr($is_sticky_class); ?>">
    <div class="blog-bg pt-90 pb-90">
        <div class="container">

            <div class="row justify-content-center">
                <div class="col-lg-8">
                    <div class="section-title text-center">
                        <h2 class="mb-90">
                            <?php Zoomy_helper()->blog_title() ?>
                        </h2>
                    </div>
                </div>
            </div>

            <div class="row">
                <?php
                if ( have_posts() )  {
                    while ( have_posts() ) : the_post();
                    get_template_part( 'template-parts/contents/content', get_post_format() );
                    endwhile;
                    ?>
                    <div class="pagination-area col-lg-12 text-center mt-50 mb-10 justify-content-center d-flex">
                        <?php Zoomy_helper()->pagination(); ?>
                    </div>
                    <?php
                } else {
                    get_template_part( 'template-parts/contents/content', 'none' );
                }
                ?>
            </div>
            <?php wp_reset_postdata(); ?>
        </div>
    </div>
</section>
<?php
get_footer();