用户中心减层:收敛本人入口与 panel 契约

This commit is contained in:
2026-07-10 20:43:49 +08:00
parent 31c95c3bc6
commit dec33ea15a
33 changed files with 1585 additions and 1488 deletions
+7 -1
View File
@@ -71,7 +71,13 @@ require_once AKSRT_DIR . '/templates/parts/user-shared-helpers.php';
<?php if (have_posts()) : ?>
<div class="aksrt-author-page__posts">
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('templates/parts/content', 'profile-list-item'); ?>
<?php get_template_part('templates/parts/content', 'profile-list-item', [
'action' => [
'type' => 'view',
'url' => get_permalink(),
'label' => __('阅读', 'aksrt'),
],
]); ?>
<?php endwhile; ?>
</div>