| Server IP : / Your IP : 216.73.216.198 Web Server : nginx/1.31.3 System : Linux dcde39c899c5 6.12.95+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.95-1 (2026-07-04) x86_64 User : www-data ( 1000) PHP Version : 8.4.15 Disable Function : phpinfo MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/themes/yuki/template-parts/ |
Upload File : |
<?php
/**
* Show posts loop
*
* @package Yuki
*/
use LottaFramework\Facades\CZ;
use LottaFramework\Utils;
$layout = 'no-sidebar';
if ( CZ::checked( 'yuki_archive_sidebar_section' ) ) {
$layout = CZ::get( 'yuki_archive_sidebar_layout' );
}
$attrs = [
'class' => 'flex flex-wrap card-list',
];
if ( is_customize_preview() ) {
$attrs['data-shortcut'] = 'border';
$attrs['data-shortcut-location'] = 'yuki_archive';
}
?>
<div class="<?php Utils::the_clsx( yuki_container_css( $layout, ['yuki-posts-container'] ) ); ?>">
<div id="content" class="yuki-posts flex-grow max-w-full">
<?php if ( have_posts() ): ?>
<div <?php Utils::print_attribute_string( $attrs ); ?>>
<?php
// posts loop
while ( have_posts() ) {
the_post();
get_template_part( 'template-parts/content', 'entry' );
}
?>
</div>
<?php
/**
* Hook - yuki_action_posts_pagination.
*/
do_action( 'yuki_action_posts_pagination' );
?>
<?php else: ?>
<?php get_template_part( 'template-parts/content', 'none' ); ?>
<?php endif; ?>
</div>
<?php
/**
* Hook - yuki_action_sidebar.
*/
do_action( 'yuki_action_sidebar', $layout );
?>
</div>