-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
24 lines (22 loc) · 866 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
<? get_header()?>
<div class="wrapper">
<div class="content">
<div class="contain">
<? get_sidebar()?>
<section class="page">
<?php if( function_exists('kama_breadcrumbs') ) kama_breadcrumbs(' / '); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<?php if ( has_post_thumbnail() ): ?>
<div class="page__thumb">
<?php { echo get_the_post_thumbnail( $id, '100%', array('class' => 'alignleft') ); }?>
</div>
<?php endif;?>
<?php the_content(); ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<?php endwhile; ?>
<?php endif; ?>
</section>
<?php get_template_part('contacts'); ?>
</div>
<? get_footer()?>