Enhance Theme Templates and Editor Layout

This commit is contained in:
2026-07-27 12:34:55 +02:00
parent cbcdbc1bb8
commit 243fb51770
14 changed files with 382 additions and 82 deletions
+17 -3
View File
@@ -1,5 +1,19 @@
<?php get_header(); ?>
<header class="page-header"><h1 class="page-title"><?php the_archive_title(); ?></h1><?php the_archive_description( '<div class="archive-description">', '</div>' ); ?></header>
<main id="main" class="site-main"><?php // Archive queries use the shared card template and WordPress pagination.
if ( have_posts() ) { while ( have_posts() ) { the_post(); get_template_part( 'template-parts/content' ); } the_posts_pagination( array( 'mid_size' => 1 ) ); } ?></main>
<header class="page-header">
<h1 class="page-title"><?php the_archive_title(); ?></h1>
<?php the_archive_description( '<div class="archive-description">', '</div>' ); ?>
</header>
<main id="main" class="site-main">
<?php
// Archive queries use the shared card template and WordPress pagination.
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
get_template_part( 'template-parts/content' );
}
the_posts_pagination( array( 'mid_size' => 1 ) );
}
?>
</main>
<?php get_footer();