forked from Piratenpartei/Pirate-Rogue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
31 lines (27 loc) · 798 Bytes
/
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
29
30
31
<?php
/**
* The template for displaying all pages with
*
* @package Pirate Rogue
* @since Pirate Rogue 1.0
* @version 1.0
*/
get_header(); ?>
<div class="content-wrap">
<?php if ( '' != get_the_post_thumbnail() && ! post_password_required() ) : ?>
<div class="entry-thumbnail">
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
</div><!-- end .entry-thumbnail -->
<?php endif; ?>
<div id="blog-wrap" class="blog-wrap cf">
<div id="primary" class="site-content cf" role="main">
<?php
while ( have_posts() ) : the_post();
get_template_part( 'template-parts/content', 'page' );
endwhile;
?>
</div><!-- end #primary -->
<?php get_sidebar( 'page' ); ?>
</div>
</div>
<?php get_footer(); ?>