403Webshell
Server IP : 178.63.100.251  /  Your IP : 216.73.216.228
Web Server : LiteSpeed
System : Linux dobby.thevpsserver.com 4.18.0-553.16.1.lve.el8.x86_64 #1 SMP Tue Aug 13 17:45:03 UTC 2024 x86_64
User : truewayi ( 1855)
PHP Version : 7.4.33
Disable Function : show_source,system,shell_exec,passthru,exec,popen,proc_open
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/truewayi/public_html/wp-content/themes/omexo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/truewayi/public_html/wp-content/themes/omexo/search.php
<?php
/**
 * The template for displaying search results pages
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result
 *
 * @package omexo
 */

$omexo_option = get_option( 'omexo_opt' );
$search_layout    = omexo_array_get($omexo_option, 'search-page-layout') ? $omexo_option['search-page-layout'] : '';

if($search_layout == 'full-width'){
    $main_col_class = 'col-md-12';
}elseif(is_active_sidebar('sidebar-1')){
    $main_col_class = 'col-md-8';
}else{
    $main_col_class = 'col-md-12';
}
get_header();
?>

<section id="primary" class="content-area">
    <main id="main" class="site-main">
        <div class="container">
            <div class="row">
                <?php if($search_layout == 'left-sidebar'){
                    get_sidebar();
                }?>

                <div class="<?php echo esc_attr($main_col_class)?> all-posts-wrap <?php echo esc_attr($search_layout);?> <?php echo esc_attr($search_layout .''. $search_layout == '' ? 'right-sidebar' : '');?>">
                    <?php if ( have_posts() ) : ?>

                        <?php
                        /* Start the Loop */
                        while ( have_posts() ) :
                            the_post();

                            /**
                             * Run the loop for the search to output the results.
                             * If you want to overload this in a child theme then include a file
                             * called content-search.php and that will be used instead.
                             */
                            get_template_part( 'template-parts/content', 'search' );

                        endwhile;?>

                        <div class="col-lg-12 text-center">
                            <?php
                            the_posts_pagination(array(
                                'next_text' => '<i class="fa fa-angle-right"></i>',
                                'prev_text' => '<i class="fa fa-angle-left"></i>',
                                'screen_reader_text' => ' ',
                                'type'                => 'list'
                            ));
                            ?>
                        </div>
                    <?php
                    else :

                        get_template_part( 'template-parts/content', 'none' );

                    endif;
                    ?>
                </div>
                <?php
                    if($search_layout == 'right-sidebar'):
                        get_sidebar();
                    elseif($search_layout == 'full-width'):
                    else:
                        get_sidebar();
                    endif;
                ?>
            </div>
        </div>
    </main><!-- #main -->
	</section><!-- #primary -->

<?php

get_footer();

Youez - 2016 - github.com/yon3zu
LinuXploit