403Webshell
Server IP : 69.72.244.102  /  Your IP : 216.73.216.164
Web Server : LiteSpeed
System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : konzalta ( 1271)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/konzalta/public_html/wp-content/themes/saasland/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/konzalta/public_html/wp-content/themes/saasland/archive.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 saasland
 */

get_header();
do_action( 'saaland_after_header');
$opt = get_option( 'saasland_opt' );
$blog_column = is_active_sidebar( 'sidebar_widgets' ) ? '8' : '12';
$blog_layout = !empty($opt['blog_layout']) ? $opt['blog_layout'] : 'list';
?>
    
    <section class="blog_area blog_area_two sec_pad">
        <div class="container">
            <div class="row">
                <div class="col-lg-<?php echo esc_attr($blog_column) ?> blog_grid_info">
                    <?php
                    if( have_posts() ){
                        if ( $blog_layout == 'list' ) {
                            while ( have_posts() ) : the_post();
                                get_template_part( 'template-parts/contents/content', get_post_format());
                            endwhile;
                        }
                        elseif ( $blog_layout == 'grid' ) { ?>
                            <div class="row"> <?php
                                while ( have_posts() ) : the_post();
                                    get_template_part( 'template-parts/contents/content-grid', get_post_format());
                                endwhile;
                                ?>
                            </div> <?php
                        }
                        elseif ( $blog_layout == 'masonry' ) {
                            wp_enqueue_script( 'imagesloaded' );
                            wp_enqueue_script( 'isotope' );
                            ?>
                            <div class="row blog_grid_info" id="blog_masonry">
                                <?php
                                while ( have_posts() ) : the_post();
                                    get_template_part( 'template-parts/contents/content-grid-masonry' );
                                endwhile;
                                ?>
                            </div>
                            <?php
                        }
                    }
                    else {
                        echo '<h3>No Post found!</h3>';
                    }
                    saasland_pagination();
                    ?>
                </div>
                <?php get_sidebar() ?>
            </div>
        </div>
    </section>
    <?php
get_footer();

Youez - 2016 - github.com/yon3zu
LinuXploit