Upload via Git Manager GUI - archive-faq.php

This commit is contained in:
2026-03-29 20:27:23 +00:00
parent 65f6fbb0a2
commit dce1de3f68

View File

@@ -1,9 +1,8 @@
<?php get_header(); ?> <!-- HIER WIRD DER HEADER EINGEBUNDEN --> <?php get_header(); ?>
<div class="container site-main"> <div class="container site-main">
<div class="content-area"> <div class="content-area">
<!-- Hülle um den gesamten FAQ-Inhalt für einen festen Hintergrund -->
<div class="faq-archive-container"> <div class="faq-archive-container">
<header class="page-header"> <header class="page-header">
@@ -12,16 +11,14 @@
</header> </header>
<?php <?php
// Alle FAQ-Kategorien abrufen
$categories = get_terms( array( $categories = get_terms( array(
'taxonomy' => 'faq_category', 'taxonomy' => 'faq_category',
'orderby' => 'name', 'orderby' => 'name',
'order' => 'ASC' 'order' => 'ASC',
) ); ) );
if ( ! empty( $categories ) && ! is_wp_error( $categories ) ) : ?> if ( ! empty( $categories ) && ! is_wp_error( $categories ) ) : ?>
<!-- Tab-Navigation -->
<ul class="faq-tabs"> <ul class="faq-tabs">
<?php <?php
$is_first = true; $is_first = true;
@@ -38,7 +35,6 @@
endforeach; ?> endforeach; ?>
</ul> </ul>
<!-- Container für alle Tab-Inhalte -->
<div class="faq-tab-content-container"> <div class="faq-tab-content-container">
<?php <?php
$is_first_pane = true; $is_first_pane = true;
@@ -91,4 +87,4 @@
</div> </div>
</div> </div>
<?php get_footer(); ?> <!-- HIER WIRD DER FOOTER EINGEBUNDEN --> <?php get_footer(); ?>