Minecraft-Modern-Theme/front-page.php aktualisiert

This commit is contained in:
2025-11-29 21:55:18 +00:00
parent 32bbb0b36f
commit f25fbf3869

View File

@@ -27,9 +27,18 @@ if ( get_theme_mod('slider_enabled', false) ) :
endfor;
?>
</div>
<!-- Nur anzeigen, wenn die Paginierung NICHT ausgeblendet ist -->
<?php if ( ! get_theme_mod('slider_hide_pagination', false) ) : ?>
<div class="swiper-pagination"></div>
<?php endif; ?>
<!-- Nur anzeigen, wenn die Pfeile NICHT ausgeblendet sind -->
<?php if ( ! get_theme_mod('slider_hide_arrows', false) ) : ?>
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
<?php endif; ?>
</section>
<?php else : ?>
<?php
@@ -65,8 +74,11 @@ if ( get_theme_mod('slider_enabled', false) ) :
<?php endif; ?>
<div class="post-content">
<h2 class="post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<div class="post-excerpt">
<?php the_excerpt(); ?>
<!-- =================================================================== -->
<!-- === HIER IST DIE ÄNDERUNG: Vollen Inhalt anstelle des Auszugs === -->
<!-- =================================================================== -->
<div class="post-full-content">
<?php the_content(); ?>
</div>
</div>
</article>