feat(widgets): complete phase 3 atomic integration

This commit is contained in:
2026-08-17 18:21:47 +08:00
parent 7c3f4221fe
commit d5dfeb7102
89 changed files with 843 additions and 12886 deletions
+2 -12
View File
@@ -167,17 +167,13 @@ if ($_footer_conter === '') {
}
?>
<?php if (is_active_sidebar('single_bottom_fluid') && is_singular()) : ?>
<?php if (is_active_sidebar('single_bottom_fluid') && is_singular('post')) : ?>
<div class="fluid-widget-wrap">
<?php dynamic_sidebar('single_bottom_fluid'); ?>
</div>
<?php endif; ?>
<?php if (is_active_sidebar('archive_bottom_fluid') && (is_archive() || is_search())) : ?>
<div class="fluid-widget-wrap">
<?php dynamic_sidebar('archive_bottom_fluid'); ?>
</div>
<?php endif; ?>
<?php \AKSRT\WidgetSystem\WidgetAreas::render('all_bottom_fluid', 'fluid-widget-wrap'); ?>
<footer class="footer" data-aksrt-shell="site-footer" role="contentinfo">
<?php if (is_active_sidebar('all_footer')) : ?>
@@ -531,12 +527,6 @@ if (is_readable($aksrt_search_panel)) {
}
?>
<?php if (is_active_sidebar('all_bottom_fluid')) : ?>
<div class="fluid-widget-wrap">
<?php dynamic_sidebar('all_bottom_fluid'); ?>
</div>
<?php endif; ?>
<?php
// 弹窗登录/注册模板(仅未登录用户)
if (!is_user_logged_in() && file_exists(AKSRT_DIR . '/templates/parts/modal-auth.php')) {