进行了一些小修复

This commit is contained in:
2026-08-26 21:23:55 +08:00
parent 8111b17392
commit f143a111cd
3 changed files with 28 additions and 61 deletions
+18 -18
View File
@@ -223,24 +223,24 @@ get_header();
}
?>
</div>
<aside class="sidebar show-sidebar">
<?php \AKSRT\WidgetSystem\WidgetAreas::render('newposts_sidebar_top'); ?>
<?php
$terms = get_template_directory() . '/templates/parts/submit/sidebar-terms.php';
if (file_exists($terms)) {
include $terms;
}
$pay = get_template_directory() . '/templates/parts/submit/sidebar-pay.php';
if (file_exists($pay)) {
include $pay;
}
$actions = get_template_directory() . '/templates/parts/submit/sidebar-submit.php';
if (file_exists($actions)) {
include $actions;
}
?>
<?php \AKSRT\WidgetSystem\WidgetAreas::render('newposts_sidebar_bottom'); ?>
</aside>
</div>
<div class="sidebar show-sidebar">
<?php \AKSRT\WidgetSystem\WidgetAreas::render('newposts_sidebar_top'); ?>
<?php
$terms = get_template_directory() . '/templates/parts/submit/sidebar-terms.php';
if (file_exists($terms)) {
include $terms;
}
$pay = get_template_directory() . '/templates/parts/submit/sidebar-pay.php';
if (file_exists($pay)) {
include $pay;
}
$actions = get_template_directory() . '/templates/parts/submit/sidebar-submit.php';
if (file_exists($actions)) {
include $actions;
}
?>
<?php \AKSRT\WidgetSystem\WidgetAreas::render('newposts_sidebar_bottom'); ?>
</div>
</form>
</main>