Upload via Git Manager GUI

This commit is contained in:
Git Manager GUI
2026-04-05 07:17:05 +02:00
parent 3836f5a876
commit 26cf58df55

View File

@@ -8,11 +8,9 @@
<?php
if ( is_category() ) {
echo '<div class="archive-type-badge"><i class="fas fa-folder-open"></i> ' . __('Kategorie', 'minecraft-modern-theme') . '</div>';
the_archive_title( '<h1 class="archive-title">', '</h1>' );
the_archive_description( '<div class="archive-description">', '</div>' );
} elseif ( is_tag() ) {
echo '<div class="archive-type-badge"><i class="fas fa-hashtag"></i> ' . __('Tag', 'minecraft-modern-theme') . '</div>';
the_archive_title( '<h1 class="archive-title">', '</h1>' );
the_archive_description( '<div class="archive-description">', '</div>' );
} elseif ( is_author() ) {
$author = get_queried_object();
@@ -21,7 +19,6 @@
<div class="archive-author-header">
<?php echo get_avatar( $author->ID, 80, '', '', array('class' => 'archive-author-avatar') ); ?>
<div>
<h1 class="archive-title"><?php echo esc_html( $author->display_name ); ?></h1>
<?php if ( $author->description ) : ?>
<p class="archive-description"><?php echo esc_html( $author->description ); ?></p>
<?php endif; ?>
@@ -30,9 +27,7 @@
<?php
} elseif ( is_date() ) {
echo '<div class="archive-type-badge"><i class="fas fa-calendar"></i> ' . __('Archiv', 'minecraft-modern-theme') . '</div>';
the_archive_title( '<h1 class="archive-title">', '</h1>' );
} else {
the_archive_title( '<h1 class="archive-title">', '</h1>' );
the_archive_description( '<div class="archive-description">', '</div>' );
}
?>