用户中心减层:收敛本人入口与 panel 契约
This commit is contained in:
+7
-1
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user