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//archive.php
<?php
/**
 * The template for displaying archive pages
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package omexo
 */ 

$omexo_option   = get_option( 'omexo_opt' );
$archive_layout = omexo_array_get($omexo_option, 'archive-layout') ? $omexo_option['archive-layout'] : '';

if($archive_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();
?>

<div id="primary" class="content-area">
    <main id="main" class="site-main">
        <div class="container">
            <div class="row">
                <?php
                if($archive_layout == 'left-sidebar'){
                    get_sidebar();
                }?>
                <div class="<?php echo esc_attr($main_col_class)?> all-posts-wrap <?php echo esc_attr($archive_layout);?> <?php echo esc_attr($archive_layout .''. $archive_layout == '' ? 'right-sidebar' : '');?>">
                    <?php
                        if ( have_posts() ) :

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

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

                            endwhile;

                        else :

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

                        endif;
                        ?>
                    <div class="row">
                        <div class="col-lg-12">
                            <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>
                        </div>
                    </div>
                </div>
                <?php
                    if($archive_layout == 'right-sidebar'):
                        get_sidebar();
                    elseif($archive_layout == 'full-width'):
                    else:
                        get_sidebar();
                    endif;
                ?>
            </div>
        </div>
    </main>
</div>
<?php
get_footer();

Youez - 2016 - github.com/yon3zu
LinuXploit