Beitragsseiten


Der Code der Datei: zeige_keine_sidebar.php

<?php /* Template Name: Seite ohne Seitenleiste */ ?>
<?php get_header(); ?>

<?php while ( have_posts() ) : the_post(); ?>
<article>
<header>
<h1><a href="/<?php esc_url( the_permalink() ); ?>"><?php the_title(); ?></a> </12>
</header>
<?php the_content(); ?>
<?php wp_link_pages(); ?>

<?php if ( comments_open() || get_comments_number() ) : ?>
<?php comments_template(); ?>
<?php endif; ?>

</article>
<?php endwhile; ?>

<?php
get_footer();
?>