Document theme behavior and format editor styles

This commit is contained in:
2026-07-26 22:08:55 +02:00
parent c5cff94d5a
commit bf41df9ad6
16 changed files with 97 additions and 19 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
<?php get_header(); ?>
<main id="main" class="site-main">
<?php if ( is_home() && ! is_front_page() ) { ?><header class="page-header"><h1 class="page-title"><?php single_post_title(); ?></h1></header><?php } ?>
<?php // Show the assigned posts-page title, but not when it is also the front page.
if ( is_home() && ! is_front_page() ) { ?><header class="page-header"><h1 class="page-title"><?php single_post_title(); ?></h1></header><?php } ?>
<?php if ( have_posts() ) { while ( have_posts() ) { the_post(); get_template_part( 'template-parts/content' ); } the_posts_pagination( array( 'mid_size' => 1 ) ); } else { ?><p><?php esc_html_e( 'No posts found.', 'c1024-2026' ); ?></p><?php } ?>
</main>
<?php get_footer();