REFACTOR update single.php to replace post-toolbar with single-post-toolbar for clarity and consistency in component naming

This commit is contained in:
Antoine 2026-03-16 10:15:40 +01:00
parent 0ec57f6278
commit f90d43fd26

View File

@ -13,7 +13,7 @@ $postType = get_post_type();
<?php while (have_posts()) : the_post(); ?> <?php while (have_posts()) : the_post(); ?>
<?php get_template_part('template-parts/components/posts/post-header'); ?> <?php get_template_part('template-parts/components/posts/post-header'); ?>
<?php get_template_part('template-parts/components/posts/post-toolbar'); ?> <?php get_template_part('template-parts/components/posts/single-post-toolbar'); ?>
<div class="content-wrapper" data-active-tab="post"> <div class="content-wrapper" data-active-tab="post">
<aside class="sidebar"> <aside class="sidebar">
@ -21,8 +21,6 @@ $postType = get_post_type();
</aside> </aside>
<div class="content-area"> <div class="content-area">
<?php get_template_part('template-parts/components/posts/post-content', null, array( <?php get_template_part('template-parts/components/posts/post-content', null, array(
'ID' => get_the_ID() 'ID' => get_the_ID()
)); ?> )); ?>