| 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/ |
Upload File : |
<?php
/**
* The default primary sidebar.
*
* @see https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Yuki
*/
use LottaFramework\Facades\CZ;
use LottaFramework\Utils;
$default_sidebar = apply_filters( 'yuki_filter_default_sidebar_id', 'primary-sidebar', 'primary' );
$attrs = [
'class' => 'yuki-sidebar sidebar-primary prose prose-yuki shrink-0 yuki-heading yuki-heading-' . CZ::get( 'yuki_global_sidebar_title-style' ),
'role' => 'complementary',
];
if ( is_customize_preview() ) {
$attrs['data-shortcut'] = 'border';
$attrs['data-shortcut-location'] = 'yuki_global:yuki_global_sidebar_section';
}
?>
<?php if ( is_active_sidebar( $default_sidebar ) ): ?>
<div <?php Utils::print_attribute_string( $attrs ); ?>>
<?php dynamic_sidebar( $default_sidebar ); ?>
</div>
<?php endif; ?>