22 lines
579 B
PHP
22 lines
579 B
PHP
|
<?php get_header(); ?>
|
||
|
|
||
|
<main>
|
||
|
<div class="content">
|
||
|
<?php if ( have_posts() ) : ?>
|
||
|
<?php while ( have_posts() ) : the_post(); ?>
|
||
|
<article <?php post_class(); ?>>
|
||
|
<h2><?php the_title(); ?></h2>
|
||
|
<div class="entry-content">
|
||
|
<?php the_content(); ?>
|
||
|
</div>
|
||
|
</article>
|
||
|
<?php endwhile; ?>
|
||
|
<?php else : ?>
|
||
|
<p>Es gibt keine Inhalte.</p>
|
||
|
<?php endif; ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
</main>
|
||
|
|
||
|
<?php get_footer(); ?>
|