Added WP-Theme

This commit is contained in:
2026-04-23 08:21:57 +02:00
parent fb1685bdd7
commit ffd95cb825
37 changed files with 2415 additions and 145 deletions

View File

@@ -0,0 +1,37 @@
<?php
/**
* Front page template.
*
* @package AS_Coaching
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
get_header();
?>
<main id="content" class="site-main">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php if ( trim( wp_strip_all_tags( get_the_content() ) ) ) : ?>
<div class="entry-content">
<?php the_content(); ?>
</div>
<?php else : ?>
<section class="as-empty-state">
<div class="container">
<div class="as-empty-state__card">
<h1 class="entry-title"><?php esc_html_e( 'Startseite bereit für Gutenberg', 'as-coaching' ); ?></h1>
<p><?php esc_html_e( 'Füge jetzt im Editor die mitgelieferten AS-Patterns ein. Das Theme bringt Hero, Angebotskarten, FAQ, CTA und Kontaktsektionen im Stil des Styleguides bereits mit.', 'as-coaching' ); ?></p>
</div>
</div>
</section>
<?php endif; ?>
<?php endwhile; ?>
<?php endif; ?>
</main>
<?php
get_footer();