forked from cutterkom/Bootstrap-WordPress-Starter-Kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
28 lines (28 loc) · 1.03 KB
/
page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/**
* The default template for displaying a page.
*/
?>
<?php get_header(); ?>
<div class="container">
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-9 col-9">
<div class="content">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<section class="main">
<article class="post" id="post-<?php the_ID(); ?>">
<section class="post-content">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<p><?php echo the_content(); ?></p>
</section>
</article>
</section>
<?php endwhile; else: ?>
<p><?php _e('Diese Seite gibt es nicht :('); ?></p>
<?php endif; ?>
</div> <!-- /.content -->
</div> <!-- /.col-lg-9 /.col-md-9 /col-sm-9 /.col-9 -->
<div class="col-lg-3 col-md-3 col-sm-3 col-3">Hier kommt die Sidebar hin</div><!-- /.col-lg-3 /.col-md-3 /.col-sm-3 /.col-3 -->
</div> <!-- /.row -->
</div> <!-- /.container -->
<?php get_footer(); ?>